mirror of
https://github.com/edu4rdshl/linuxscripts.git
synced 2026-07-17 23:24:52 +00:00
Update
This commit is contained in:
parent
a03a105445
commit
929696153b
1 changed files with 10 additions and 3 deletions
|
|
@ -15,19 +15,20 @@ general {
|
|||
# order += "disk /"
|
||||
order += "wireless _first_"
|
||||
order += "ethernet _first_"
|
||||
order += "path_exists VPN"
|
||||
order += "load"
|
||||
order += "cpu_temperature 0"
|
||||
order += "tztime local"
|
||||
order += "battery all"
|
||||
|
||||
wireless _first_ {
|
||||
format_up = "W: (%quality at %essid) %ip"
|
||||
format_up = "W: (%quality at %essid)"
|
||||
format_down = "W: down"
|
||||
}
|
||||
|
||||
ethernet _first_ {
|
||||
# if you use %speed, i3status requires root privileges
|
||||
format_up = "E: %ip (%speed)"
|
||||
format_up = "E: Up (%speed)"
|
||||
format_down = "E: down"
|
||||
}
|
||||
|
||||
|
|
@ -43,6 +44,12 @@ load {
|
|||
format = "CPU load: %1min"
|
||||
}
|
||||
|
||||
path_exists VPN {
|
||||
# path exists when a VPN tunnel launched by nmcli/nm-applet is active
|
||||
format = "VPN: active"
|
||||
format_down= "W: VPN inactive"
|
||||
path = "/proc/sys/net/ipv4/conf/tun0"
|
||||
}
|
||||
# disk "/" {
|
||||
# format = "%avail"
|
||||
# }
|
||||
|
|
@ -51,5 +58,5 @@ cpu_temperature 0 {
|
|||
format = "CPU Temp: %degrees °C"
|
||||
path = "/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input"
|
||||
max_threshold = "70"
|
||||
format_above_threshold = "CPU Temp Warning: %degrees °C"
|
||||
format_above_threshold = "CPU Temp: %degrees °C"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue