Преглед изворни кода

Update i3status config

No more batteries, no more volume (it's not that useful given that the
pulseaudio volume story is always more complex than a single value)
and better selection of disks to watch.
Alois Mahdal пре 1 недеља
родитељ
комит
cd328573b1
1 измењених фајлова са 25 додато и 33 уклоњено
  1. 25
    33
      dotfiles/config/i3status/config

+ 25
- 33
dotfiles/config/i3status/config Прегледај датотеку

@@ -12,49 +12,41 @@ general {
12 12
         output_format = i3bar
13 13
 }
14 14
 
15
-order += "battery 0"
16
-order += "battery 1"
15
+# order += "battery 0"
17 16
 order += "load"
18 17
 order += "cpu_usage"
19
-order += "disk /home/netvor/mnt/netvorovo"
18
+order += "disk /"
19
+order += "disk /home.sync"
20 20
 order += "disk /home"
21
-order += "volume master"
21
+# order += "volume master"
22 22
 order += "tztime local"
23 23
 
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
-}
37
-
38
-battery 1 {
39
-       format = "%status%percentage"
40
-       format_down = "✕"
41
-       status_unk = ""
42
-       status_chr = "↑"
43
-       status_bat = "↓"
44
-       status_full = ""
45
-       path = "/sys/class/power_supply/BAT%d/uevent"
46
-       low_threshold = 5
47
-       threshold_type = percentage
48
-       hide_seconds = true
49
-       integer_battery_capacity = true
50
-}
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
+# }
51 37
 
52 38
 tztime local {
53 39
     format = "(w%V,d%u) %Y-%m-%d %H:%M"
54 40
 }
55 41
 
56
-disk "/home/netvor/mnt/netvorovo" {
57
-    format = "n:%avail"
42
+disk "/" {
43
+    format = "/:%avail"
44
+    threshold_type = "gbytes_avail"
45
+    low_threshold = 2
46
+}
47
+
48
+disk "/home.sync" {
49
+    format = "s:%avail"
58 50
     threshold_type = "gbytes_avail"
59 51
     low_threshold = 2
60 52
 }