aboutsummaryrefslogtreecommitdiffstats
path: root/bin/pulse2jack
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2022-03-16 15:57:16 +0100
committerDavid Runge <dave@sleepmap.de>2022-03-16 16:24:14 +0100
commitafc3e7e8ead970b92cbb16076aeb36dc5c024107 (patch)
treeb81b5ea18b2012567c39a5079232c6e9c986033e /bin/pulse2jack
parentaa77eef21bd1e0bf4aeb4d710f30b0bb3b1b0257 (diff)
downloaddotfiles-afc3e7e8ead970b92cbb16076aeb36dc5c024107.tar.gz
dotfiles-afc3e7e8ead970b92cbb16076aeb36dc5c024107.tar.bz2
dotfiles-afc3e7e8ead970b92cbb16076aeb36dc5c024107.tar.xz
dotfiles-afc3e7e8ead970b92cbb16076aeb36dc5c024107.zip
pulseaudio: Remove custom script for sinks
bin/pulse2jack: Remove custom script to start pulseaudio sinks for use with jack. This is not needed with pipewire and can be done more cleanly using systemd user services.
Diffstat (limited to 'bin/pulse2jack')
-rwxr-xr-xbin/pulse2jack26
1 files changed, 0 insertions, 26 deletions
diff --git a/bin/pulse2jack b/bin/pulse2jack
deleted file mode 100755
index d5aa2ef..0000000
--- a/bin/pulse2jack
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/usr/bin/env bash
-
-set -eu
-
-jack_module_on() {
- echo "Enabling JACK sink and source."
- /usr/bin/pacmd load-module module-jack-sink channels=2
- /usr/bin/pacmd load-module module-jack-source channels=2
- /usr/bin/pacmd set-default-sink jack_out
- /usr/bin/pacmd set-default-source jack_in
-}
-
-jack_module_off() {
- echo "Disabling JACK sink and source."
- /usr/bin/pacmd unload-module module-jack-sink
- /usr/bin/pacmd unload-module module-jack-source
-}
-
-case "$@" in
- "on")
- jack_module_on
- ;;
- "off")
- jack_module_off
- ;;
-esac