From f07c74900764a9bb68064fd48c4a84468e50b9d1 Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Sun, 3 Jan 2021 08:21:55 -0800 Subject: [PATCH] adjust exit and poweroff shortcuts --- .config/sway/config | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.config/sway/config b/.config/sway/config index 38dd657..639fc4b 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -79,7 +79,10 @@ input type:keyboard { bindsym $mod+Shift+c reload # 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' + #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' + bindsym $mod+Shift+e exit + bindsym $mod+Mod1+Shift+p exec systemctl poweroff + bindsym $mod+Mod1+Shift+s exec systemctl suspend # # Moving around: #