nixos-config/.config/i3status/config

86 lines
2.1 KiB
Plaintext

# 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 {
colors = true
interval = 5
}
order += "spotify"
order += "mocPlayer"
order += "keyboard_locks"
order += "volume_status"
order += "sysdata"
# order += "volume"
order += "keyboardLayout"
# order += "ipv6"
order += "disk /"
order += "wireless _first_"
order += "ethernet _first_"
#order += "battery all"
#order += "load"
order += "tztime local"
sysdata {
format = "Mem: [\?color=mem_used_percent {mem_used_percent}% {mem_used}/{mem_total}] {mem_used_unit} : CPU [\?color=cpu_used_percent {format_cpu}]"
format_cpu = "[\?if=used_percent>80 █|[\?if=used_percent>70 ▇|[\?if=used_percent>60 ▆|[\?if=used_percent>50 ▅|[\?if=used_percent>40 ▄|[\?if=used_percent>30 ▃|[\?if=used_percent>20 ▂|[\?if=used_percent>10 ▁|_]]]]]]]]"
format_cpu_separator = ""
thresholds = [(0, "good"), (60, "degraded"), (80, "bad")]
cache_timeout = 2
}
volume_status {
blocks = "_▁▂▃▄▅▆▇█"
# blocks = "abcdefghi"
max_volume = 100
# format = "Vol: {percentage}%"
# cache_timeout = 1
}
keyboard_locks {
# format = '\?color=good [\?if=num_lock NUM][\?soft ][\?if=caps_lock CAPS][\?soft ][\?if=scroll_lock SCR]'
format = '[\?if=caps_lock&color=good CAPS|\?color=bad CAPS] [\?if=num_lock&color=good NUM|\?color=bad NUM]'
}
spotify {
button_next = 5
button_play_pause = 1
button_previous = 4
# format = "{title} - {artist}"
format = "\[ {title} \]"
format_down = ""
# cache_timeout = 5
}
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"
}
battery all {
format = "%status %percentage %remaining"
}
tztime local {
format = "%d-%m-%Y %H:%M:%S"
}
load {
format = "%1min"
}
disk "/" {
format = "%avail"
}