i3status: bigger update

This commit is contained in:
Tobias Schmidl 2020-05-06 12:25:57 +02:00 committed by Tobias Schmidl
parent edb289e939
commit 8f60828b79

View file

@ -13,15 +13,14 @@ general {
interval = 5 interval = 5
} }
#order += "ipv6" order += "path_exists VPN"
order += "disk /" order += "wireless wlan0"
#order += "run_watch DHCP" order += "ethernet eth0"
#order += "run_watch VPN"
# order += "wireless wlan0"
# order += "ethernet eth0"
order += "battery 0" order += "battery 0"
# order += "cpu_temperature 0" # order += "cpu_temperature 0"
# order += "cpu_temperature 1" # order += "cpu_temperature 1"
order += "disk /"
order += "memory"
order += "load" order += "load"
order += "time" order += "time"
@ -55,16 +54,12 @@ battery 1 {
format_down = "" format_down = ""
} }
run_watch DHCP { path_exists VPN {
pidfile = "/var/run/dhclient*.pid" path = "/proc/sys/net/ipv4/conf/vpn0"
}
run_watch VPN {
pidfile = "/var/run/vpnc/pid"
} }
time { time {
format = "%Y-%m-%d %H:%M:%S" format = "%F %T %Z"
} }
load { load {
@ -82,5 +77,10 @@ cpu_temperature 1 {
} }
disk "/" { disk "/" {
format = "D: %free" format = "D: U%percentage_used A%percentage_avail"
}
memory {
format = "M: U%percentage_used S%percentage_shared F%percentage_free"
memory_used_method = "classical"
} }