1
0
Fork 0
nixos/config/etc/i3/py3status

93 lines
1.7 KiB
Plaintext
Raw Normal View History

2019-02-26 13:44:40 +01:00
# 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"
2019-02-26 13:44:40 +01:00
order += "volume_status"
order += "cpu_temperature 0"
order += "load"
2021-10-28 15:03:55 +02:00
order += "battery 0"
2019-02-26 13:44:40 +01:00
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
2019-02-26 13:44:40 +01:00
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}"
}
}
2021-10-28 15:03:55 +02:00
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
}
2019-02-26 13:44:40 +01:00
volume_status {
button_up = 4
button_down = 5
button_mute = 2
}
load {
format = "%1min"
}
disk "/" {
format = "%avail"
}