aboutsummaryrefslogtreecommitdiffstats
path: root/bin/pulse2jack
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2017-10-01 22:18:33 +0200
committerDavid Runge <dave@sleepmap.de>2017-10-01 22:18:33 +0200
commitfd2b0c948fa23cdcc03f9a8b4022f99b8b1de948 (patch)
treeb336b915373d950fb75c43ab74e1ebc29de07735 /bin/pulse2jack
parenta1b017934831206e1da82e6ab6d25631a48eb12f (diff)
downloaddotfiles-fd2b0c948fa23cdcc03f9a8b4022f99b8b1de948.tar.gz
dotfiles-fd2b0c948fa23cdcc03f9a8b4022f99b8b1de948.tar.bz2
dotfiles-fd2b0c948fa23cdcc03f9a8b4022f99b8b1de948.tar.xz
dotfiles-fd2b0c948fa23cdcc03f9a8b4022f99b8b1de948.zip
bin/pulse2jack: Fixing switch case to use all parameters to the script.
Diffstat (limited to 'bin/pulse2jack')
-rwxr-xr-xbin/pulse2jack2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pulse2jack b/bin/pulse2jack
index 73ede01..b7ab947 100755
--- a/bin/pulse2jack
+++ b/bin/pulse2jack
@@ -20,7 +20,7 @@ function jack_module_off()
/usr/bin/pacmd unload-module module-jack-source
}
-case "$1" in
+case "$@" in
"on")
jack_module_on
;;