summaryrefslogtreecommitdiff
path: root/desktop/bin
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2016-12-23 19:44:52 -0600
committerBobby Bingham <koorogi@koorogi.info>2016-12-23 19:44:52 -0600
commit1a63b2438d1d552080b36c211de1996359d2c289 (patch)
tree017b78b22722038c29d1232a5a19c97cec04d739 /desktop/bin
parent4a966baf7dd16675e11b3615a846ab664f8da39b (diff)
desktop: simplify mute script logic slightly
Diffstat (limited to 'desktop/bin')
-rwxr-xr-xdesktop/bin/aumute6
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 () {