config/.config/i3status/config
2021-12-28 13:44:13 +10:30

70 lines
1.4 KiB
Plaintext

general {
interval = 1
output_format = "i3bar"
colors = true
color_good = "#50FA7B"
color_degraded = "#F1FA8C"
color_bad = "#FF5555"
}
order += "ipv6"
order += "wireless wlp36s0"
order += "ethernet enp33s0"
order += "path_exists VPN"
order += "battery 0"
order += "disk /"
order += "memory"
order += "cpu_usage"
order += "tztime local"
order += "tztime adelaide"
wireless wlp36s0 {
format_up = "W: (%quality at %essid, %bitrate) %ip"
format_down = "W: down"
}
ethernet enp33s0 {
format_up = "E: %ip (%speed)"
format_down = "E: down"
}
battery 0 {
format = "%status %percentage %remaining %emptytime"
format_down = "No battery"
status_chr = "⚡ CHR"
status_bat = "🔋 BAT"
status_unk = "? UNK"
status_full = "☻ FULL"
path = "/sys/class/power_supply/BAT%d/uevent"
low_threshold = 10
}
path_exists VPN {
# path exists when a VPN tunnel launched by nmcli/nm-applet is active
path = "/proc/sys/net/ipv4/conf/tun0"
}
tztime local {
format = "%Y-%m-%d %H:%M:%S"
hide_if_equals_localtime = true
}
tztime adelaide {
format = "%Y-%m-%d %H:%M:%S %Z"
timezone = "Australia/Adelaide"
}
cpu_usage {
format = "all: %usage"
}
memory {
format = "%used"
threshold_degraded = "10%"
format_degraded = "MEMORY: %free"
}
disk "/" {
format = "%free"
}