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
|
||||
pulsegetvol() {
|
||||
if [ $(pulsemixer --get-mute) == 1 ]; then
|
||||
if [ $(pamixer --get-mute) == 1 ]; then
|
||||
echo -ne "^fg($foreground)muted\n"
|
||||
else
|
||||
volume=$(pulsemixer --get-volume | awk '{print $1; exit}')
|
||||
volume=$(pamixer --get-volume-human)
|
||||
echo -n "^fg($foreground)$volume"
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user