.files/niri/.config/i3status-rust/config.toml
2025-03-18 21:30:05 +01:00

77 lines
1.6 KiB
TOML

[theme]
theme = "foot"
[icons]
icons = "material-nf"
[[block]]
block = "maildir"
interval = 60
inboxes = ["/home/0xa/mail/dump@dvb.solutions/INBOX", "/home/0xa/mail/grigory@tlm.solutions/INBOX" ]
threshold_critical = 1
display_type = "new"
[[block.click]]
button = "left"
cmd = "alacritty -e zsh -c neomutt"
[[block]]
block = "maildir"
interval = 60
inboxes = ["/home/0xa/mail/mail@oxapentane.com/INBOX", "/home/0xa/mail/mail@oxapentane.com/sinkhole", "/home/0xa/mail/grigory@shipunov.xyz/INBOX"]
threshold_warning = 1
threshold_critical = 10
display_type = "new"
[[block.click]]
button = "left"
cmd = "alacritty -e zsh -c neomutt"
[[block]]
block = "backlight"
minimum = 5
maximum = 100
cycle = [ 100, 50, 10 ]
[[block]]
block = "net"
device = "wlan0"
format = " $icon {$ssid $signal_strength $frequency|} "
# format = " $icon {$ssid $signal_strength $ip $ipv6|} "
[[block]]
block = "net"
device = "enp1s0f0"
format = " $icon{ | $ip $ipv6 }"
[[block]]
block = "memory"
warning_swap = 100.0
critical_swap = 100.0
[[block]]
block = "load"
format = " $1m.eng(w:4) $5m.eng(w:4) $15m.eng(w:4) "
[[block]]
block = "sound"
headphones_indicator = true
[[block.click]]
button = "left"
cmd = "alacritty -e zsh -c pulsemixer"
[[block]]
block = "keyboard_layout"
driver = "localebus"
[[block]]
block = "battery"
driver = "upower"
format = " $icon $percentage $time "
if_command = "test -e /sys/class/power_supply/BAT0"
[[block]]
block = "time"
format = " $icon $timestamp.datetime(f:'%a %F %R', l:nl_NL) "
[block.theme_overrides]
idle_bg = { link = "idle_fg" }
idle_fg = { link = "idle_bg" }