Add audio output choosing bindings

This commit is contained in:
Alex Kelly 2022-06-27 15:31:49 -04:00
parent ef1609b15c
commit 438a9f2f05
2 changed files with 3 additions and 0 deletions

View file

@ -1,3 +1,4 @@
bindsym $mod+m mode "audio" bindsym $mod+m mode "audio"
bindsym $mod+s mode "save" bindsym $mod+s mode "save"
bindsym $mod+n mode "restore" 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"

View file

@ -6,6 +6,8 @@ mode "audio" {
bindsym p exec "playerctl play-pause" bindsym p exec "playerctl play-pause"
bindsym h exec "playerctl previous" bindsym h exec "playerctl previous"
bindsym l exec "playerctl next" 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 backslash exec "~/bin/volume.sh mtoggle"
bindsym Return mode "default" bindsym Return mode "default"
bindsym Escape mode "default" bindsym Escape mode "default"