polybar: add pipewire buffer size module

This commit is contained in:
2024-11-19 20:18:42 +02:00
parent 532f2eb9ee
commit e98ba9e7f4
2 changed files with 26 additions and 2 deletions

View File

@ -32,7 +32,7 @@ font-0 = mononoki-12;1
modules-left = ewmh
modules-center = date
modules-right = mpd filesystem pulseaudio xkeyboard memory cpu wlan eth
modules-right = mpd filesystem pipewire_buffer_size pulseaudio xkeyboard memory cpu wlan eth
cursor-click = pointer
cursor-scroll = ns-resize
@ -43,10 +43,16 @@ enable-ipc = true
; wm-restack = generic
; wm-restack = bspwm
; wm-restack = i3
wm-restack = i3
; override-redirect = true
[module/pipewire_buffer_size]
type = custom/script
exec = ~/.config/polybar/pipewire_buffer_size.sh
interval = 10
click-right = ~/.config/polybar/pipewire_buffer_size.sh click
[module/info-hlwm-workspaces]
type = custom/script
exec = ~/.config/polybar/info-hlwm-workspaces/info-hlwm-workspaces.sh