fixed backwards if statement and spaces
This commit is contained in:
+1
-1
@@ -24,7 +24,7 @@ fi
|
||||
muted=`pactl list sinks | grep "Mute" | awk '{print $2}'`
|
||||
vol=`pactl list sinks | grep "front-left" | awk '{print $5}'`
|
||||
|
||||
if [[ $muted == "no" ]]; then
|
||||
if [[ $muted == "yes" ]]; then
|
||||
twmnc -t 'volume' -c 'muted' -d 100
|
||||
else
|
||||
twmnc -t 'volume' -c "${direction}${vol}" -d 100
|
||||
|
||||
Reference in New Issue
Block a user