Permalink
Browse files

Merge pull request #1 from Louson/master

Mute: use toggle instead of absolute values
  • Loading branch information...
boredomwontgetus committed Sep 17, 2016
2 parents 5ff634c + b3fc8f7 commit 5ca5e816213474f654390baa134f8fd5fd1eb915
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 5ca5e81

Please sign in to comment.