aboutsummaryrefslogtreecommitdiffstats
path: root/alsa-utils/headphones
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-02-18 13:22:42 +0100
committerMattias Andrée <maandree@kth.se>2024-02-18 13:22:42 +0100
commitc274475635d410c0e9f812e71d20183cb923cd6b (patch)
tree70f59c3b28a36921ea46a93effc565d59e20f43b /alsa-utils/headphones
parentAdd makeenv (diff)
downloaddotfiles-c274475635d410c0e9f812e71d20183cb923cd6b.tar.gz
dotfiles-c274475635d410c0e9f812e71d20183cb923cd6b.tar.bz2
dotfiles-c274475635d410c0e9f812e71d20183cb923cd6b.tar.xz
misc updates
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-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