Permalink
Browse files

Mute: use toggle instead of absolute values

  • Loading branch information...
Louson committed Sep 16, 2016
1 parent 5ff634c commit b3fc8f7242eae13fa08f55cf9f1ac3a45fecdc72
Showing with 1 addition and 5 deletions.
  1. +1 −5 pa-vol.sh
@@ -36,11 +36,7 @@ function minus() {
}
function mute() {
if [ $MUTE_STATE = no ]; then
pactl set-sink-mute $SINK_NAME 1
elif [ $MUTE_STATE = yes ]; then
pactl set-sink-mute $SINK_NAME 0
fi
pactl set-sink-mute $SINK_NAME toggle
}
function get() {

0 comments on commit b3fc8f7

Please sign in to comment.