mirror of
https://github.com/edu4rdshl/linuxscripts.git
synced 2026-07-18 07:34:45 +00:00
62 lines
1.4 KiB
Text
62 lines
1.4 KiB
Text
# i3status configuration file.
|
|
# see "man i3status" for documentation.
|
|
|
|
# It is important that this file is edited as UTF-8.
|
|
# The following line should contain a sharp s:
|
|
# ß
|
|
# If the above line is not correctly displayed, fix your editor first!
|
|
|
|
general {
|
|
colors = true
|
|
interval = 1
|
|
}
|
|
|
|
# order += "ipv6"
|
|
# 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)"
|
|
format_down = "W: down"
|
|
}
|
|
|
|
ethernet _first_ {
|
|
# if you use %speed, i3status requires root privileges
|
|
format_up = "E: Up (%speed)"
|
|
format_down = "E: down"
|
|
}
|
|
|
|
battery all {
|
|
format = "%status %percentage %remaining"
|
|
}
|
|
|
|
tztime local {
|
|
format = "%Y-%m-%d %H:%M"
|
|
}
|
|
|
|
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= "VPN inactive"
|
|
path = "/proc/sys/net/ipv4/conf/tun0"
|
|
}
|
|
# disk "/" {
|
|
# format = "%avail"
|
|
# }
|
|
|
|
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: %degrees °C"
|
|
}
|