order += "ethernet _first_"
order += "battery 0"
order += "volume master"
-order += "load"
+# order += "load"
order += "tztime local"
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"
}
tztime local {
- format = "%-I:%M%P %a %b %d"
+ format = "%A %Y-%m-%d %I:%M %p"
}
volume master {
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: