From: Amin Bandali Date: Fri, 17 Aug 2018 23:05:12 +0000 (-0400) Subject: [rc/i3status] customizations X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/commitdiff_plain/e939ef1a57eb3717398d32f9c3fd3ed71bb4ad72?hp=40085087bfc85bf447146336efe4e4b8de44b572 [rc/i3status] customizations --- diff --git a/rc.org b/rc.org index 8bf9622..ce39dff 100644 --- a/rc.org +++ b/rc.org @@ -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