Files
dotfiles/.config/i3status/config
jackman fe247039dd rpi
2024-04-27 13:41:14 -04:00

91 lines
2.1 KiB
Plaintext

# 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 = 7
color_good = "#7cafc2"
color_degraded = "#dc9656"
color_bad = "#ab4642"
}
#color_good = "#a1b56c" #light green
#color_degraded = "#f7ca88" #light yellow
#color_degraded = "#dc9656" #light orange
#color_bad = "#ab4642" #light red
#color_good = "#86c1b9" #light cyan
#color_good = "#7cafc2" #light blue
#color_good = "#4A6EF" #blue
#color_degraded = "#85678F"
#color_bad = "#FF1D1D" #red
order += "disk /"
order += "ipv6"
order += "wireless _first_"
order += "ethernet _first_"
#order += "run_watch DHCP"
#order += "path_exists ovpn"
#order += "path_exists wgvpn"
order += "path_exists wg0"
#order += "battery all"
order += "cpu_temperature 0"
order += "load"
order += "tztime local"
wireless _first_ {
format_up = "W: (%quality at %essid, %frequency) %ip"
format_down = "W: down"
}
ethernet _first_ {
# if you use %speed, i3status requires root privileges
format_up = "E: %ip (%speed)"
format_down = "E: down"
}
battery all {
format = "%status %percentage %remaining"
}
tztime local {
format = "%Y-%m-%d %H:%M:%S"
}
load {
format = "%1min"
}
disk "/" {
format = "%avail"
}
#path_exists ovpn {
# # path exists when a VPN tunnel launched by nmcli/nm-applet is active
# path = "/proc/sys/net/ipv4/conf/tun0"
#}
path_exists wgvpn {
# path exists when a WireGuard VPN tunnel is active
path = "/proc/sys/net/ipv4/conf/wgpia0"
}
path_exists wg0 {
# path exists when a WireGuard VPN tunnel is active
path = "/proc/sys/net/ipv4/conf/wg0"
}
run_watch DHCP {
pidfile = "/var/run/dhclient*.pid"
}
#update the following device path for temp1_input as needed
cpu_temperature 0 {
format = "%degrees °C"
#path = "/sys/devices/platform/coretemp.0/hwmon/hwmon*/temp2_input"
path = "/sys/class/thermal/thermal_zone0/temp"
}