From fe777d181ec226f972e5bee9a1a1daa5c2202282 Mon Sep 17 00:00:00 2001 From: Ryan Kes Date: Mon, 9 Mar 2020 12:22:42 +0100 Subject: [PATCH] Works for desktop as well now --- deadd/.local/bin/volume | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deadd/.local/bin/volume b/deadd/.local/bin/volume index 93ff133..2a3b9e5 100755 --- a/deadd/.local/bin/volume +++ b/deadd/.local/bin/volume @@ -14,7 +14,7 @@ fi AMIXER=$(amixer sget Master) -VOLUME=$(echo "$AMIXER" | grep 'Mono:' | awk -F'[][]' '{ print $2 }' | tr -d "%") +VOLUME=$(echo "$AMIXER" | grep 'Mono\|Front Right:' | awk -F'[][]' '{ print $2 }' | tr -d "%") MUTE=$(echo "$AMIXER" | grep -o '\[off\]' | tail -n 1) if [ "$MUTE" == "[off]" ]; then ICON=audio-volume-muted