Files
dotfiles/.config/sway/status.toml
2021-12-06 17:14:36 +01:00

74 lines
1.5 KiB
TOML

icons = "awesome"
[theme]
name = "solarized-dark"
[theme.overrides]
idle_bg = "#002b36cc"
info_bg = "#268bd2cc"
good_bg = "#859900cc"
warning_bg = "#b58900cc"
critical_bg = "#dc322fcc"
alternating_tint_bg = "#00000000"
separator = "<span font='14'>\ue0b2</span>"
#separator = ""
#[[block]]
#block = "focused_window"
#max_width = 100
[[block]]
block = "music"
player = "spotify"
buttons = ["play", "next"]
on_collapsed_click = "spotify"
max_width = 21
marquee = true
[[block]]
block = "sound"
driver = "auto"
show_volume_when_muted = true
headphones_indicator = true
step_width = 3
[[block]]
block = "memory"
display_type = "memory"
format_mem = "{mem_used;M}"
clickable = false
on_click = "kitty --class kitty-scratch -c ~/.config/kitty/kitty-scratch.conf btop"
[[block]]
block = "cpu"
interval = 1
on_click = "kitty --class kitty-scratch -c ~/.config/kitty/kitty-scratch.conf btop"
#[[block]]
#block = "sound"
[[block]]
block = "battery"
interval = 10
[[block]]
block = "pacman"
interval = 600
format = "{both} updates available"
format_singular = "{both} update available"
format_up_to_date = "up to date"
hide_when_uptodate = true
critical_updates_regex = "(^(linux-|sway|wl)|pipewire)"
aur_command = "yay -Qua"
on_click = "kitty --class kitty-scratch -c ~/.config/kitty/kitty-scratch.conf zsh -i -c update"
[[block]]
block = "networkmanager"
on_click = "networkmanager_dmenu"
device_format = "{icon}{ap}"
interface_name_exclude = ["br\\-[0-9a-f]{12}", "docker\\d+"]
[[block]]
block = "time"
interval = 60
format = "%a %d/%m/%Y %R"