dotfiles/sway/i3status-rust.toml

87 lines
1.6 KiB
TOML
Raw Normal View History

scrolling = "natural"
[icons]
icons = "awesome5"
2020-10-24 17:30:14 +02:00
[theme.overrides]
good_bg = "#0C0C0D"
info_bg = "#0C0C0D"
idle_bg = "#0C0C0D"
warning_bg = "#0C0C0D"
critical_bg = "#0C0C0D"
2021-06-01 13:16:01 +02:00
separator_bg = "#0C0C0D"
separator = " "
2020-10-24 17:30:14 +02:00
[[block]]
block = "disk_space"
path = "/"
format = "  $available "
[[block.click]]
button = "right"
update = true
2020-10-24 17:30:14 +02:00
[[block]]
block = "disk_space"
path = "/home"
format = "  $available "
[[block.click]]
button = "right"
update = true
2020-10-24 17:30:14 +02:00
[[block]]
block = "net"
format = " $icon {$ssid |}"
[[block.click]]
button = "left"
cmd = "foot nmtui"
2020-10-24 17:30:14 +02:00
[[block]]
block = "memory"
format = " $icon $mem_used_percents.eng(w:1) "
format_alt = " $icon_swap $swap_used_percents.eng(w:1) "
2020-10-24 17:30:14 +02:00
[[block]]
block = "temperature"
format = " $icon $max "
format_alt = " $icon $min min, $max max, $average avg "
2020-10-24 17:30:14 +02:00
[[block]]
block = "cpu"
interval = 1
2020-10-24 17:30:14 +02:00
[[block]]
block = "load"
[[block]]
block = "battery"
full_threshold = 99 # so the format is used when discharging
format = " $icon $percentage {$time |}"
2020-10-24 17:30:14 +02:00
[[block]]
block = "bluetooth"
mac = "94:DB:56:79:A5:3C"
format = " $icon {$percentage |}"
disconnected_format = " $icon "
2020-10-24 17:30:14 +02:00
[[block]]
block = "sound"
[[block]]
block = "sound"
device_kind = "source"
2020-10-24 17:30:14 +02:00
[[block]]
block = "time"
interval = 1
[block.format]
full = " $icon $timestamp.datetime(f:'%a %F %T', l:de_DE) "
short = " $icon $timestamp.datetime(f:%R) "
[[block]]
block = "custom"
command = "if pgrep -x \"syncthing\" > /dev/null; then echo '{\"icon\":\"\",\"state\":\"Info\", \"text\": \"\"}'; else echo '{\"icon\":\"\",\"state\":\"Warning\", \"text\": \"\"}'; fi"
json = true
interval = 3
[[block.click]]
button = "left"
cmd = "xdg-open http://localhost:8384"