Преглед на файлове

Re-enable battery tracking in i3status

Now we have gibbon, it's useful there
Alois Mahdal преди 10 месеца
родител
ревизия
2b675f7122
променени са 1 файла, в които са добавени 29 реда и са изтрити 14 реда
  1. 29
    14
      dotfiles/config/i3status/config

+ 29
- 14
dotfiles/config/i3status/config Целия файл

@@ -12,7 +12,8 @@ general {
12 12
         output_format = i3bar
13 13
 }
14 14
 
15
-# order += "battery 0"
15
+order += "battery 0"
16
+order += "battery 1"
16 17
 order += "load"
17 18
 order += "cpu_usage"
18 19
 order += "disk /"
@@ -21,19 +22,33 @@ order += "disk /home"
21 22
 # order += "volume master"
22 23
 order += "tztime local"
23 24
 
24
-# battery 0 {
25
-#        format = "%status%percentage"
26
-#        format_down = "✕"
27
-#        status_unk = ""
28
-#        status_chr = "↑"
29
-#        status_bat = "↓"
30
-#        status_full = ""
31
-#        path = "/sys/class/power_supply/BAT%d/uevent"
32
-#        low_threshold = 30
33
-#        threshold_type = percentage
34
-#        hide_seconds = true
35
-#        integer_battery_capacity = true
36
-# }
25
+battery 0 {
26
+       format = "%status%percentage"
27
+       format_down = " ✕"
28
+       status_unk = " "
29
+       status_chr = " ↑"
30
+       status_bat = " ↓"
31
+       status_full = " "
32
+       path = "/sys/class/power_supply/BAT%d/uevent"
33
+       low_threshold = 30
34
+       threshold_type = percentage
35
+       hide_seconds = true
36
+       integer_battery_capacity = true
37
+}
38
+
39
+battery 1 {
40
+       format = "%status%percentage"
41
+       format_down = " ✕"
42
+       status_unk = " "
43
+       status_chr = " ↑"
44
+       status_bat = " ↓"
45
+       status_full = " "
46
+       path = "/sys/class/power_supply/BAT%d/uevent"
47
+       low_threshold = 30
48
+       threshold_type = percentage
49
+       hide_seconds = true
50
+       integer_battery_capacity = true
51
+}
37 52
 
38 53
 tztime local {
39 54
     format = "(w%V,d%u) %Y-%m-%d %H:%M"