From 6c9b9c8ef89f250ce03ffdb6baa0a8ffa966beac Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Mon, 10 Jan 2022 11:44:08 -0700 Subject: Add script to set the PulseAudio sink for the current window. This binding is set to a. It creates a dmenu prompting the user to select which output device the current application should send audio to. In the future I might create an analog for input devices, but as things stand, I change input so much more infrequently that pavucontrol is probably fine for that. --- src/Internal/Keys.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/Internal/Keys.hs b/src/Internal/Keys.hs index 44a7c9f..fc0244b 100644 --- a/src/Internal/Keys.hs +++ b/src/Internal/Keys.hs @@ -233,6 +233,9 @@ keymap = runKeys $ do bind xK_e $ (justMod -|- noMod) $ spawn "emoji-select.sh" + + bind xK_a $ + (justMod -|- noMod) $ spawn "set-sink.sh" -- Double-tap Z to toggle zoom. -- cgit