4 ms·
You might be interested in this little tool of mine: https://github.com/majewsky/jack-autoplug https://github.com/majewsky/jack-autoplug - It's using the JACK A
by majewsky 4y ago
You might be interested in this little tool of mine: https://github.com/majewsky/jack-autoplug https://github.com/majewsky/jack-autoplug - It's using the JACK API, so it works with PipeWire out of the box. I run instances of this tool as systemd services, grouped into targets. To switch pluggings on and off on demand, I have global keybinds connected to scripts like this:
#!/bin/sh
set -euo pipefail
if systemctl --user is-active --quiet autoplug-group.target; then
systemctl --user stop autoplug-group.target
else
systemctl --user start autoplug-group.target
fi