From 3bb2942a3136d4d90e4e3eab284718b3daaca9b7 Mon Sep 17 00:00:00 2001 From: Inga Date: Thu, 1 Sep 2022 12:26:19 +0200 Subject: [PATCH] volume keys handlers --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 2449054..6522e9a 100644 --- a/README.md +++ b/README.md @@ -297,6 +297,12 @@ riverctl spawn "/usr/libexec/pipewire-launcher" ``` Control microphone and volume with `alsamixer`. +And change the handlers for XF86Audio (adding `-repeat` and replacing the spawned command): +``` +riverctl map -repeat $mode None XF86AudioRaiseVolume spawn 'amixer set "Master" 5%+' +riverctl map -repeat $mode None XF86AudioLowerVolume spawn 'amixer set "Master" 5%-' +riverctl map $mode None XF86AudioMute spawn 'amixer set "Master" toggle' +``` Note that the internal microphone does not work and is not detected by pipewire. Only external microphones work.