From dc7973c1a396b667eb7173025f63696eae028336 Mon Sep 17 00:00:00 2001 From: mequidis Date: Fri, 17 Jun 2022 14:38:39 +0300 Subject: [PATCH] herbstluftwm: update panel to use pipewire instead of pulseaudio --- .config/herbstluftwm/panel/panel.sh | 4 ++-- .config/mequidots/packagelist | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.config/herbstluftwm/panel/panel.sh b/.config/herbstluftwm/panel/panel.sh index 39d98a4..ada4b3a 100755 --- a/.config/herbstluftwm/panel/panel.sh +++ b/.config/herbstluftwm/panel/panel.sh @@ -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 } diff --git a/.config/mequidots/packagelist b/.config/mequidots/packagelist index 32a2e1e..ee30ecb 100644 --- a/.config/mequidots/packagelist +++ b/.config/mequidots/packagelist @@ -22,6 +22,7 @@ nerd-fonts-mononoki newsboat nvimpager-git openssh +pamixer papirus-icon-theme picom-git pipewire