diff options
author | Bobby Bingham <koorogi@koorogi.info> | 2016-12-23 19:44:52 -0600 |
---|---|---|
committer | Bobby Bingham <koorogi@koorogi.info> | 2016-12-23 19:44:52 -0600 |
commit | 1a63b2438d1d552080b36c211de1996359d2c289 (patch) | |
tree | 017b78b22722038c29d1232a5a19c97cec04d739 /desktop | |
parent | 4a966baf7dd16675e11b3615a846ab664f8da39b (diff) |
desktop: simplify mute script logic slightly
Diffstat (limited to 'desktop')
-rwxr-xr-x | desktop/bin/aumute | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/desktop/bin/aumute b/desktop/bin/aumute index 0a23aed..2829235 100755 --- a/desktop/bin/aumute +++ b/desktop/bin/aumute @@ -34,12 +34,10 @@ MUTERC="$HOME/.aumixrc.mute" function __mute() { - if [ -e "$MUTERC" ]; then - aumix -v 0; aumix -w 0 - else + if [ ! -e "$MUTERC" ]; then aumix -f "$MUTERC" -S - aumix -v 0; aumix -w 0 fi + aumix -v 0; aumix -w 0 } function __unmute () { |