Detect the Dock audio card

This commit is contained in:
Felix Van der Jeugt 2020-03-14 13:36:54 +01:00
parent e7126467fe
commit 32f074e20b
No known key found for this signature in database
GPG Key ID: 58B209295023754D
1 changed files with 5 additions and 0 deletions

View File

@ -24,6 +24,11 @@ export LESSHISTFILE=-
export FZF_DEFAULT_COMMAND='(git ls-files -co --exclude-standard || rg --files) 2> /dev/null'
export LC_ALL=en_US.utf8
# Select Dock sound card if it's there
if [ -e /proc/asound/Dock ]; then
export ALSA_CARD=Dock
fi
#stty -ixon # disable <C-s>
# Start X if we're in tty1