herbstluftwm: update panel to use pipewire instead of pulseaudio

This commit is contained in:
2023-07-08 15:20:42 +03:00
parent 80a4e3a70c
commit 1b57f9f7cd
2 changed files with 3 additions and 2 deletions

View File

@ -61,10 +61,10 @@ fi
# get the current pulseaudio volume, or state incase muted # get the current pulseaudio volume, or state incase muted
pulsegetvol() { pulsegetvol() {
if [ $(pulsemixer --get-mute) == 1 ]; then if [ $(pamixer --get-mute) == 1 ]; then
echo -ne "^fg($foreground)muted\n" echo -ne "^fg($foreground)muted\n"
else else
volume=$(pulsemixer --get-volume | awk '{print $1; exit}') volume=$(pamixer --get-volume-human)
echo -n "^fg($foreground)$volume" echo -n "^fg($foreground)$volume"
fi fi
} }

View File

@ -22,6 +22,7 @@ nerd-fonts-mononoki
newsboat newsboat
nvimpager-git nvimpager-git
openssh openssh
pamixer
papirus-icon-theme papirus-icon-theme
picom-git picom-git
pipewire pipewire