summaryrefslogtreecommitdiff
path: root/dot/local/bin/pavol
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2018-08-06 09:48:16 -0400
committerAndrew Cady <d@jerkface.net>2018-08-06 09:48:16 -0400
commit886b5f105cae8addb9a0ac5a5302dd4c28c0895c (patch)
tree853c6ee139cef48a462e9d3c60e1ce32a685daf0 /dot/local/bin/pavol
parentaf462221d91e8c436c6e91eac0fb427d50ee491c (diff)
pavol: fix --mute=[on|off]
Diffstat (limited to 'dot/local/bin/pavol')
-rwxr-xr-xdot/local/bin/pavol2
1 files changed, 1 insertions, 1 deletions
diff --git a/dot/local/bin/pavol b/dot/local/bin/pavol
index cceda70..1a3fbf3 100755
--- a/dot/local/bin/pavol
+++ b/dot/local/bin/pavol
@@ -81,7 +81,7 @@ case "$1" in
81 [0-9]*) set_volume "$1" ;; 81 [0-9]*) set_volume "$1" ;;
82 [-+*/][0-9]*) set_volume $(( $(show_volume_number) $1 )) ;; 82 [-+*/][0-9]*) set_volume $(( $(show_volume_number) $1 )) ;;
83 '') show_status ;; 83 '') show_status ;;
84 --mute=*) mute "${1%mute=}" ;; 84 --mute=*) mute "${1#--mute=}" ;;
85 --mute) mute "$2" ;; 85 --mute) mute "$2" ;;
86 *) die 'usage' ;; 86 *) die 'usage' ;;
87esac 87esac