dotfiles/crates/05-i3/files/status_config
2023-09-08 12:30:53 +02:00

57 lines
1 KiB
Text

general {
output_format = "i3bar"
colors = true
interval = 5
}
order += "ipv6"
order += "ethernet eno1"
order += "battery 0"
order += "disk /"
order += "memory"
order += "load"
order += "tztime local"
ethernet eno1 {
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
}
tztime local {
format = "%Y-%m-%d %H:%M:%S"
hide_if_equals_localtime = false
}
tztime berlin {
format = "%Y-%m-%d %H:%M:%S %Z"
timezone = "Europe/Berlin"
}
load {
format = "%5min"
}
memory {
format = "%used"
threshold_degraded = "10%"
format_degraded = "MEMORY: %free"
}
disk "/" {
format = "%free"
}
read_file uptime {
path = "/proc/uptime"
}