瀏覽代碼

Use nicer battery status formatting

Alois Mahdal 10 年之前
父節點
當前提交
4284ad2e4c
共有 1 個檔案被更改,包括 7 行新增1 行删除
  1. 7
    1
      dotfiles/i3status.conf

+ 7
- 1
dotfiles/i3status.conf 查看文件

@@ -19,7 +19,13 @@ order += "volume master"
19 19
 order += "tztime local"
20 20
 
21 21
 battery 0 {
22
-    format = "%status %percentage %remaining"
22
+       format = "%status %percentage %remaining %emptytime"
23
+       format_down = "?B0"
24
+       status_chr = "⚇C0"
25
+       status_bat = "⚡B0"
26
+       status_full = "☻F0"
27
+       path = "/sys/class/power_supply/BAT%d/uevent"
28
+       low_threshold = 10
23 29
 }
24 30
 
25 31
 tztime local {