summaryrefslogtreecommitdiff
path: root/desktop/bin
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2016-12-23 19:07:37 -0600
committerBobby Bingham <koorogi@koorogi.info>2016-12-23 19:07:37 -0600
commit4a966baf7dd16675e11b3615a846ab664f8da39b (patch)
tree6b45516bcef006a0a474d7de864c728daa692433 /desktop/bin
parent18680d3e75010502072a06039fc3b16a355aa36f (diff)
desktop: tabify and remove empty lines from aumute
Diffstat (limited to 'desktop/bin')
-rwxr-xr-xdesktop/bin/aumute44
1 files changed, 16 insertions, 28 deletions
diff --git a/desktop/bin/aumute b/desktop/bin/aumute
index 0bef6a3..0a23aed 100755
--- a/desktop/bin/aumute
+++ b/desktop/bin/aumute
@@ -34,41 +34,29 @@
MUTERC="$HOME/.aumixrc.mute"
function __mute() {
-
- if [ -e "$MUTERC" ]; then
- aumix -v 0; aumix -w 0
- else
- aumix -f "$MUTERC" -S
- aumix -v 0; aumix -w 0
- fi
-
+ if [ -e "$MUTERC" ]; then
+ aumix -v 0; aumix -w 0
+ else
+ aumix -f "$MUTERC" -S
+ aumix -v 0; aumix -w 0
+ fi
}
function __unmute () {
-
- if [ -e "$MUTERC" ]; then
- aumix -f "$MUTERC" -L > /dev/null
- rm -f "$MUTERC"
- else
- aumix -L > /dev/null
- fi
-
+ if [ -e "$MUTERC" ]; then
+ aumix -f "$MUTERC" -L > /dev/null
+ rm -f "$MUTERC"
+ else
+ aumix -L > /dev/null
+ fi
}
if [ "$1" = "--force-mute" ]; then
-
- __mute;
-
+ __mute;
elif [ "$1" = "--force-unmute" ]; then
-
- __unmute;
-
+ __unmute;
elif [ -e "$MUTERC" ]; then
-
- __unmute;
-
+ __unmute;
else
-
- __mute;
-
+ __mute;
fi