diff options
author | Amin Bandali <bandali@gnu.org> | 2019-04-05 19:01:36 -0400 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2019-04-05 19:24:37 -0400 |
commit | 6891dcd72ed5b3026f2cda982c996c15a3129bed (patch) | |
tree | a533255749c5450c28e4264ac968dc8ed176bba2 | |
parent | fe34bed60c88c6d98559706c8aa84be8f2330ab8 (diff) | |
download | configs-6891dcd72ed5b3026f2cda982c996c15a3129bed.tar.gz configs-6891dcd72ed5b3026f2cda982c996c15a3129bed.tar.xz configs-6891dcd72ed5b3026f2cda982c996c15a3129bed.zip |
[rc/i3status] some tweaks
Diffstat (limited to '')
-rw-r--r-- | rc.org | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -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: |