From 41439d1045360a200fb1995286e65b8f89a82d3c Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Sat, 30 Mar 2024 05:12:53 +0300 Subject: [PATCH] Sway : Add swaylock bind. --- module/sway/module/20-Keybind | 3 +++ 1 file changed, 3 insertions(+) diff --git a/module/sway/module/20-Keybind b/module/sway/module/20-Keybind index c3d5323..d34f524 100644 --- a/module/sway/module/20-Keybind +++ b/module/sway/module/20-Keybind @@ -32,3 +32,6 @@ bindsym XF86MonBrightnessUp exec light -A 10 bindsym XF86AudioRaiseVolume exec 'pactl set-sink-volume @DEFAULT_SINK@ +1%' bindsym XF86AudioLowerVolume exec 'pactl set-sink-volume @DEFAULT_SINK@ -1%' bindsym XF86AudioMute exec 'pactl set-sink-mute @DEFAULT_SINK@ toggle' + +# Lock screen +bindsym $mod+z exec 'swaylock -k -c 000000'