mirror of
https://github.com/AquaMorph/dotfiles.git
synced 2025-11-27 18:13:19 +00:00
feat(scripts): add config
This commit is contained in:
17
home/bin/audio/executable_es9start.sh
Normal file
17
home/bin/audio/executable_es9start.sh
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Script to add another audio interface if available.
|
||||
|
||||
# Import library
|
||||
source $(dirname $(realpath ${BASH_SOURCE[0]}))/audio-lib.sh
|
||||
|
||||
DEVICE_NAME='ES-9'
|
||||
DEVICE_NUM=$(getCardNumber $DEVICE_NAME)
|
||||
checkCard $DEVICE_NAME $DEVICE_NUM
|
||||
|
||||
# Start up ES-5
|
||||
pkill es-5-pipewire || true
|
||||
/opt/es-5-pipewire/es-5-pipewire >/dev/null 2>/dev/null &
|
||||
sleep 0.1
|
||||
jack_connect ES-5:output "$DEVICE_NAME:playback_SL" || true
|
||||
jack_connect ES-5:output "$DEVICE_NAME:playback_AUX6" || true
|
||||
Reference in New Issue
Block a user