dotfiles/templates/.config/i3status/config
2024-08-28 13:05:31 -05:00

79 lines
1.4 KiB
Text

general {
colors = true
interval = 5
}
${get_base16('i3status')}
% for iface in host['wireless']:
wireless ${iface} {
format_up = "${iface} %ip %essid %quality"
format_down = "${iface} down"
}
order += "wireless ${iface}"
% endfor
% for iface in host['ethernet']:
ethernet ${iface} {
format_up = "${iface} %ip"
format_down = "${iface} down"
}
order += "ethernet ${iface}"
% endfor
volume default {
format = "vol %volume"
format_muted = "mute %volume"
device = "default"
}
order += "volume default"
battery all {
format = "%status %percentage %remaining"
format_down = ""
status_chr = "chr"
status_bat = "bat"
status_unk = "unk"
status_full = "full"
}
order += "battery all"
% for disk in host['disks']:
disk "${disk}" {
format = "${disk} %avail"
}
order += "disk ${disk}"
% endfor
cpu_usage {
format = "cpu %usage"
degraded_threshold = "50"
max_threshold = "90"
}
order += "cpu_usage"
memory {
format = "mem %percentage_used"
threshold_degraded = "10%"
threshold_critical = "5%"
}
order += "memory"
% if 'temperature-path' in host:
cpu_temperature 0 {
format = "temp %degrees°C"
path = "${host['temperature-path']}"
}
order += "cpu_temperature 0"
% endif
tztime utc {
format = "%Y-%m-%d %H:%M:%S"
timezone = UTC
}
order += "tztime utc"
tztime local {
format = "%H:%M"
}
order += "tztime local"