From 1b57f9f7cd4e21d8bce6fad6bd1952ba70a6a665 Mon Sep 17 00:00:00 2001 From: omri Date: Sat, 8 Jul 2023 15:20:42 +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