From 32f074e20b4d37ff584c18f29ce5b88efda6f800 Mon Sep 17 00:00:00 2001 From: Felix Van der Jeugt Date: Sat, 14 Mar 2020 13:36:54 +0100 Subject: [PATCH] Detect the Dock audio card --- profile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/profile b/profile index 56a18c6..e87b71b 100755 --- a/profile +++ b/profile @@ -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 # Start X if we're in tty1