From e2dd7b6efd4bb9533c06a08e89a41c961fb7bbf6 Mon Sep 17 00:00:00 2001 From: David Runge Date: Sun, 3 Dec 2023 13:24:36 +0100 Subject: sway: Add bindsym config for frmwrk Signed-off-by: David Runge --- .config/sway/config.d/frmwrk-bindsym | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .config/sway/config.d/frmwrk-bindsym (limited to '.config') 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" -- cgit v1.2.3-54-g00ecf