Sway : Add swaylock bind.
This commit is contained in:
parent
53c39a6f98
commit
091c9e7276
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue