Update status bar configuration

This commit is contained in:
2022-07-11 17:17:34 +02:00
parent 176e5dd276
commit a504e27e19

View File

@@ -19,9 +19,7 @@ separator = "<span font='14'>\ue0b2</span>"
[[block]] [[block]]
block = "music" block = "music"
player = "spotify" player = "spotify"
buttons = ["prev", "play", "next"] format = "$prev $play $next|"
on_collapsed_click = "spotify"
max_width = 0
[[block]] [[block]]
block = "sound" block = "sound"
@@ -29,19 +27,25 @@ driver = "auto"
show_volume_when_muted = true show_volume_when_muted = true
headphones_indicator = true headphones_indicator = true
step_width = 3 step_width = 3
on_click = "pavucontrol" [[block.click]]
button = "left"
cmd = "pavucontrol"
[[block]] [[block]]
block = "memory" block = "memory"
display_type = "memory" display_type = "memory"
format_mem = "{mem_used;M}" format_mem = "$mem_used.eng(3,B,M)"
clickable = false clickable = false
on_click = "kitty --class kitty-scratch -c ~/.config/kitty/kitty-scratch.conf btop" [[block.click]]
button = "left"
cmd = "kitty --class kitty-scratch -c ~/.config/kitty/kitty-scratch.conf btop"
[[block]] [[block]]
block = "cpu" block = "cpu"
interval = 1 interval = 1
on_click = "kitty --class kitty-scratch -c ~/.config/kitty/kitty-scratch.conf btop" [[block.click]]
button = "left"
cmd = "kitty --class kitty-scratch -c ~/.config/kitty/kitty-scratch.conf btop"
#[[block]] #[[block]]
#block = "sound" #block = "sound"
@@ -53,19 +57,22 @@ interval = 10
[[block]] [[block]]
block = "pacman" block = "pacman"
interval = 600 interval = 600
format = "{both} updates available" format = "$both updates available"
format_singular = "{both} update available" format_singular = "$both update available"
format_up_to_date = "up to date" format_up_to_date = "up to date"
hide_when_uptodate = true hide_when_uptodate = true
critical_updates_regex = "(^(linux-|sway|wl)|pipewire)" critical_updates_regex = "(^(linux-|sway|wl)|pipewire)"
aur_command = "yay -Qua" aur_command = "yay -Qua"
on_click = "kitty --class kitty-scratch -c ~/.config/kitty/kitty-scratch.conf zsh -i -c update" [[block.click]]
button = "left"
cmd = "kitty --class kitty-scratch -c ~/.config/kitty/kitty-scratch.conf zsh -i -c update"
[[block]] [[block]]
block = "networkmanager" block = "net"
on_click = "kitty --class kitty-scratch -c ~/.config/kitty/kitty-scratch.conf nmtui" format = "$device{| $ssid}"
device_format = "{icon}{ap}" [[block.click]]
interface_name_exclude = ["br\\-[0-9a-f]{12}", "docker\\d+"] button = "left"
cmd = "kitty --class kitty-scratch -c ~/.config/kitty/kitty-scratch.conf nmtui"
[[block]] [[block]]
block = "time" block = "time"