From 0b27da3f22a94b154cb14946d90fe18a2a3ec4f4 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Thu, 2 Jun 2022 23:57:30 +0300 Subject: [PATCH] sway: restore suspend shortcut --- conf/sway/config | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/sway/config b/conf/sway/config index 8c0015d6..7577542d 100644 --- a/conf/sway/config +++ b/conf/sway/config @@ -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: #