From c274475635d410c0e9f812e71d20183cb923cd6b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 18 Feb 2024 13:22:42 +0100 Subject: misc updates MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- alsa-utils/headphones | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 alsa-utils/headphones (limited to 'alsa-utils/headphones') 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 -- cgit v1.2.3-70-g09d2