Sway : Add swaylock bind.

This commit is contained in:
Dmitry Voronin 2024-03-31 00:48:12 +03:00
parent 53c39a6f98
commit 091c9e7276

View file

@ -18,7 +18,8 @@ floating_modifier $mod normal
bindsym $mod+Shift+c reload bindsym $mod+Shift+c reload
# Exit sway (logs you out of your Wayland session). # Exit sway (logs you out of your Wayland session).
bindsym $mod+Shift+z exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit' bindsym $mod+z exec 'swaylock -F -c 000000 -k --font "SF Pro Display Medium" --font-size 14'
bindsym $mod+Shift+z exec 'swaymsg exit'
# Show last notification. # Show last notification.
bindsym $mod+n exec makoctl restore bindsym $mod+n exec makoctl restore