diff options
-rw-r--r-- | .config/sway/config.d/frmwrk-bindsym | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.config/sway/config.d/frmwrk-bindsym b/.config/sway/config.d/frmwrk-bindsym new file mode 100644 index 0000000..2ff2372 --- /dev/null +++ b/.config/sway/config.d/frmwrk-bindsym @@ -0,0 +1,7 @@ +# brightness (requires brightnessctl) +bindsym XF86MonBrightnessDown exec "brightnessctl -d amdgpu_bl1 s 5%-" +bindsym XF86MonBrightnessUp exec "brightnessctl -d amdgpu_bl1 s +5%" +# volume (requires wireplumber) +bindsym --locked XF86AudioRaiseVolume exec "wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%+" +bindsym --locked XF86AudioLowerVolume exec "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-" +bindsym --locked XF86AudioMute exec "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle" |