My NixOS configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

92 lines
1.7 KiB

# 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 {
# output_format = "dzen2"
colors = true
}
order += "group network"
order += "disk /"
order += "dpms"
order += "backlight"
order += "volume_status"
order += "cpu_temperature 0"
order += "load"
order += "battery 0"
order += "group tz"
group network {
format = "{output}"
button_next = 1
button_previous = 2
wireless _first_ {
format_up = "W: (%quality at %essid) %ip"
format_down = "W: down"
}
ethernet _first_ {
# if you use %speed, i3status requires root privileges
format_up = "E: %ip (%speed)"
format_down = "E: down"
}
}
group tz {
interval = 1
format = "{output}"
button_next = 1
button_previous = 2
tztime local {
format = "GER %Y-%m-%d %H:%M:%S"
timezone = "Europe/Berlin"
}
tztime PRC {
format = "PRC %Y-%m-%d %H:%M:%S"
timezone = "Asia/Shanghai"
}
tztime UTC {
format = "UTC %Y-%m-%d %H:%M:%S"
timezone = "Etc/UTC"
}
tztime PST {
format = "PST %Y-%m-%d %H:%M:%S"
timezone = "PST8PDT"
}
uptime {
format = "{weeks}:{days}:{hours}:{minutes}:{seconds}"
}
}
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
}
volume_status {
button_up = 4
button_down = 5
button_mute = 2
}
load {
format = "%1min"
}
disk "/" {
format = "%avail"
}