sway: restore suspend shortcut

This commit is contained in:
Aminda Suomalainen 2022-06-02 23:57:30 +03:00
parent 5e2db81676
commit 0b27da3f22
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 3 additions and 0 deletions

View File

@ -94,6 +94,9 @@ font pango:Noto Sans Mono Regular 10
# Exit sway (logs you out of your Wayland session)
bindsym $mod+Shift+e 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'
# Lock and suspend
bindsym $mod+Escape exec "swaynag -t warning -m 'You pressed the SUSPEND shortcut. Do you really want to SUSPEND?' -B 'Yes, SUSPEND' '$ScreenLockCmd; systemctl -i suspend'"
#
# Moving around:
#