aboutsummaryrefslogtreecommitdiffstats
path: root/alsa-utils/headphones
diff options
context:
space:
mode:
Diffstat (limited to 'alsa-utils/headphones')
-rwxr-xr-xalsa-utils/headphones5
1 files changed, 5 insertions, 0 deletions
diff --git a/alsa-utils/headphones b/alsa-utils/headphones
new file mode 100755
index 0000000..59eb283
--- /dev/null
+++ b/alsa-utils/headphones
@@ -0,0 +1,5 @@
+#!/bin/dash
+amixer -c "${MAIN_ALSA_CARD}" -- set Speaker '0%' mute
+amixer -c "${MAIN_ALSA_CARD}" -- set PCM '15%' unmute
+amixer -c "${MAIN_ALSA_CARD}" -- set Master '100%' unmute
+amixer -c "${MAIN_ALSA_CARD}" -- set Headphone '100%' unmute