From 0d1a0f05e3af76096684414c39c1223d5c628379 Mon Sep 17 00:00:00 2001 From: Blake Romero Date: Sat, 2 Nov 2024 00:47:26 +0000 Subject: Add keybindings for audio & power off buttons --- dot-config/sway/config | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'dot-config/sway/config') diff --git a/dot-config/sway/config b/dot-config/sway/config index d491664..7121979 100644 --- a/dot-config/sway/config +++ b/dot-config/sway/config @@ -73,9 +73,15 @@ bindsym $mod+r reload bindsym $mod+e exec swaynag -t warning -m 'Do you want to logout from Sway?' -B 'Yes, exit sway' 'swaymsg exit' bindsym $mod+Escape exit +bindsym XF86PowerOff exec sudo halt + bindsym --locked XF86MonBrightnessUp exec brightnessctl --save set +10% bindsym --locked XF86MonBrightnessDown exec brightnessctl --save --min-value=10 set 10-% +bindsym XF86AudioMute exec wpctl set-mute @DEFAULT_SINK@ toggle +bindsym XF86AudioRaiseVolume exec wpctl set-volume @DEFAULT_SINK@ 10%+ +bindsym XF86AudioLowerVolume exec wpctl set-volume @DEFAULT_SINK@ 10%- + bindsym $mod+h splith bindsym $mod+v splitv -- cgit