Update i3status

This commit is contained in:
Rodolphe Bréard 2023-05-28 08:25:57 +02:00
parent c3cac8891b
commit cc79c734fe

View file

@ -12,27 +12,18 @@ general {
} }
order += "disk /" order += "disk /"
order += "wireless _first_" order += "disk /home"
order += "ipv6"
order += "ethernet _first_" order += "ethernet _first_"
order += "battery all"
order += "load" order += "load"
order += "tztime local" order += "tztime local"
wireless _first_ {
format_up = "W: (%quality at %essid) %ip"
format_down = "W: down"
}
ethernet _first_ { ethernet _first_ {
# if you use %speed, i3status requires root privileges # if you use %speed, i3status requires root privileges
format_up = "E: %ip (%speed)" format_up = "E: %ip (%speed)"
format_down = "E: down" format_down = "E: down"
} }
battery all {
format = "%status %percentage %remaining"
}
tztime local { tztime local {
format = "%A %d %B %Y %H:%M:%S" format = "%A %d %B %Y %H:%M:%S"
} }
@ -42,5 +33,13 @@ load {
} }
disk "/" { disk "/" {
format = "%avail" format = "%free (%avail) / %total"
threshold_type = "gbytes_avail"
low_threshold = "5"
}
disk "/home" {
format = "/home %free (%avail) / %total"
threshold_type = "gbytes_avail"
low_threshold = "20"
} }