From 6891dcd72ed5b3026f2cda982c996c15a3129bed Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Fri, 5 Apr 2019 19:01:36 -0400 Subject: [PATCH] [rc/i3status] some tweaks --- rc.org | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/rc.org b/rc.org index 6a8d7e8..f4b059e 100644 --- a/rc.org +++ b/rc.org @@ -713,7 +713,7 @@ order += "disk /data" order += "ethernet _first_" order += "battery 0" order += "volume master" -order += "load" +# order += "load" order += "tztime local" wireless _first_ { @@ -723,12 +723,13 @@ wireless _first_ { ethernet _first_ { # if you use %speed, i3status requires root privileges - format_up = "E: %ip (%speed)" + # format_up = "E: %ip (%speed)" + format_up = "E: %ip" format_down = "E: down" } battery 0 { - format = "%status %percentage %remaining (%consumption)" + format = "%status %percentage %remaining %consumption" path = "/sys/class/power_supply/BAT%d/uevent" low_threshold = "10" threshold_type = "percentage" @@ -738,7 +739,7 @@ battery 0 { } tztime local { - format = "%-I:%M%P %a %b %d" + format = "%A %Y-%m-%d %I:%M %p" } volume master { @@ -4640,7 +4641,7 @@ if __name__ == '__main__': if get_nosleep(): j = json.loads(line) # insert information into the start of the json, but could be anywhere - j.insert(0, {'full_text' : '🖵 ', 'name' : 'nosleep'}) + j.insert(0, {'full_text' : '•', 'name' : 'nosleep'}) # and echo back new encoded json print_line(prefix+json.dumps(j)) else: -- 2.20.1