diff options
-rw-r--r-- | rc.org | 39 |
1 files changed, 25 insertions, 14 deletions
@@ -923,31 +923,38 @@ general { interval = 5 } -order += "ipv6" +# order += "ipv6" order += "disk /" +order += "disk /data" order += "wireless _first_" -order += "ethernet _first_" -order += "battery all" +# order += "ethernet _first_" +order += "battery 0" order += "load" order += "tztime local" wireless _first_ { - format_up = "W: (%quality at %essid) %ip" + format_up = "W:%quality %essid %ip" format_down = "W: down" } -ethernet _first_ { - # if you use %speed, i3status requires root privileges - format_up = "E: %ip (%speed)" - format_down = "E: down" -} - -battery all { - format = "%status %percentage %remaining" +# ethernet _first_ { +# # if you use %speed, i3status requires root privileges +# format_up = "E: %ip (%speed)" +# format_down = "E: down" +# } + +battery 0 { + format = "%status %percentage %remaining (%consumption)" + path = "/sys/class/power_supply/BAT%d/uevent" + low_threshold = "30" + threshold_type = "time" + last_full_capacity = false + integer_battery_capacity = true + hide_seconds = true } tztime local { - format = "%Y-%m-%d %H:%M:%S" + format = "%-I:%M%P %a %b %d" } load { @@ -955,7 +962,11 @@ load { } disk "/" { - format = "%avail" + format = "/ %avail" +} + +disk "/data" { + format = "/data %avail" } #+end_src |