laptop stuff
[dotfiles.git] / x / .config / i3status / config
index d3b3458..3067d41 100644 (file)
@@ -1,24 +1,36 @@
 general {
        colors = true
-       interval = 5
+       interval = 3
 }
 
-order += "ethernet enp5s0"
+order += "wireless wlp2s0"
 order += "volume master"
 order += "disk /"
+order += "battery 0"
 order += "tztime local"
 
+battery 0 {
+       format = "%status %percentage"
+       integer_battery_capacity = true
+       format_down = "No battery"
+       status_chr = "⚇ CHR"
+       status_bat = "⚡ BAT"
+       status_full = "☻ FULL"
+       path = "/sys/class/power_supply/BAT%d/uevent"
+       low_threshold = 10
+}
+
+wireless wlp2s0 {
+       format_up = "W: (%quality at %essid) %ip"
+       format_down = "W: down"
+}
+
 volume master {
        format = "♪: %volume"
        format_muted = "♪: muted (%volume)"
        device = "hw:1"
 }
 
-ethernet enp3s0f1 {
-       format_up = "E: %ip"
-       format_down ="E: down"
-}
-
 tztime local {
        format = "%Y-%m-%d %H:%M:%S"
 }