aboutsummaryrefslogtreecommitdiff
path: root/dot-config
diff options
context:
space:
mode:
Diffstat (limited to 'dot-config')
-rw-r--r--dot-config/sway/config6
1 files changed, 6 insertions, 0 deletions
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