dotfiles/sway/i3status-rust.toml

74 lines
1.3 KiB
TOML
Raw Normal View History

2020-10-24 17:30:14 +02:00
[theme]
name = "plain"
[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"
2020-10-24 17:30:14 +02:00
[icons]
name = "awesome5"
[[block]]
block = "disk_space"
path = "/"
2021-06-01 13:16:01 +02:00
format = "{available}"
2020-10-24 17:30:14 +02:00
[[block]]
block = "disk_space"
path = "/home"
2021-06-01 13:16:01 +02:00
format = "{available}"
alert_absolute = true
2020-10-24 17:30:14 +02:00
[[block]]
block = "networkmanager"
2020-11-11 23:50:56 +01:00
device_format = "{icon}{ap}"
2020-10-24 17:30:14 +02:00
on_click = "alacritty -e nmtui"
interface_name_exclude = ["br\\-[0-9a-f]{12}", "docker\\d+"]
2020-10-24 17:30:14 +02:00
[[block]]
block = "memory"
2021-06-01 13:16:01 +02:00
format_mem = "{mem_used_percents}"
format_swap = "{swap_used_percents}"
2020-10-24 17:30:14 +02:00
[[block]]
block = "temperature"
2021-06-01 13:16:01 +02:00
format = "{max}"
2020-10-24 17:30:14 +02:00
[[block]]
block = "cpu"
[[block]]
block = "load"
[[block]]
block = "battery"
2021-06-01 13:16:01 +02:00
format = "{percentage} {time}"
2020-10-24 17:30:14 +02:00
[[block]]
block = "bluetooth"
format = "{label}"
format_unavailable = "{label}"
mac = "94:DB:56:79:A5:3C"
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
format = "%a %F %T"
[[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
on_click = "xdg-open http://localhost:8384"
interval = 3