From e939ef1a57eb3717398d32f9c3fd3ed71bb4ad72 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Fri, 17 Aug 2018 19:05:12 -0400 Subject: [PATCH 1/1] [rc/i3status] customizations --- rc.org | 39 +++++++++++++++++++++++++-------------- 1 file changed, 25 insertions(+), 14 deletions(-) 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 -- 2.20.1