herbstluftwm: update panel to use pipewire instead of pulseaudio
This commit is contained in:
@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user