From 438a9f2f055132252f3ea86bb6d46ad1b40f2bdd Mon Sep 17 00:00:00 2001 From: Alex Kelly Date: Mon, 27 Jun 2022 15:31:49 -0400 Subject: [PATCH] Add audio output choosing bindings --- conf.d/key_bindings.conf | 1 + conf.d/mode_audio.conf | 2 ++ 2 files changed, 3 insertions(+) diff --git a/conf.d/key_bindings.conf b/conf.d/key_bindings.conf index bcfc371..2439a30 100644 --- a/conf.d/key_bindings.conf +++ b/conf.d/key_bindings.conf @@ -1,3 +1,4 @@ bindsym $mod+m mode "audio" bindsym $mod+s mode "save" bindsym $mod+n mode "restore" +bindsym $mod+o exec --no-startup-id rofi -show rofi-sound -modi "rofi-sound:~/.local/bin/rofi-sound-output-chooser" diff --git a/conf.d/mode_audio.conf b/conf.d/mode_audio.conf index 29dac50..c406a1d 100644 --- a/conf.d/mode_audio.conf +++ b/conf.d/mode_audio.conf @@ -6,6 +6,8 @@ mode "audio" { bindsym p exec "playerctl play-pause" bindsym h exec "playerctl previous" bindsym l exec "playerctl next" + bindsym o exec --no-startup-id rofi -show rofi-sound -modi "rofi-sound:~/.local/bin/rofi-sound-output-chooser" + bindsym backslash exec "~/bin/volume.sh mtoggle" bindsym Return mode "default" bindsym Escape mode "default"