Browse Source

Add second battery for fullmoon

Alois Mahdal 10 years ago
parent
commit
67fd9aebb4
1 changed files with 14 additions and 0 deletions
  1. 14
    0
      dotfiles/i3status.conf

+ 14
- 0
dotfiles/i3status.conf View File

@@ -12,6 +12,7 @@ general {
12 12
 }
13 13
 
14 14
 order += "battery 0"
15
+order += "battery 1"
15 16
 order += "load"
16 17
 order += "cpu_usage"
17 18
 order += "disk /home"
@@ -31,6 +32,19 @@ battery 0 {
31 32
        integer_battery_capacity = true
32 33
 }
33 34
 
35
+battery 1 {
36
+       format = "%status %percentage %remaining"
37
+       format_down = "፧B1"
38
+       status_chr = "⚇C1"
39
+       status_bat = "⚡B1"
40
+       status_full = "☻F1"
41
+       path = "/sys/class/power_supply/BAT%d/uevent"
42
+       low_threshold = 5
43
+       threshold_type = percentage
44
+       hide_seconds = true
45
+       integer_battery_capacity = true
46
+}
47
+
34 48
 tztime local {
35 49
     format = "%Y-%m-%d %H:%M"
36 50
 }