From e030d1452ba9e2b9cf3c3186842ba3383ce2fa73 Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Sat, 9 Jan 2021 23:08:22 +0100 Subject: [PATCH] only execute suspend command to suspend --- templates/i3/i3.config.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/i3/i3.config.j2 b/templates/i3/i3.config.j2 index 5e6eea8..a452579 100644 --- a/templates/i3/i3.config.j2 +++ b/templates/i3/i3.config.j2 @@ -202,7 +202,7 @@ mode "session" { bindsym q exit bindsym r reload; exec --no-startup-id ~/.xsession.reload.fish; mode "default"; {{on_focus_workspace}} bindsym R reload; exec --no-startup-id ~/.xsession.reload.fish; mode "default"; {{on_focus_workspace}} - bindsym s exec --no-startup-id {{session_lock_command}}; exec --no-startup {{system_suspend_command}}; mode "default"; {{on_focus_workspace}} + bindsym s exec --no-startup-id {{system_suspend_command}}; mode "default"; {{on_focus_workspace}} bindsym x exec --no-startup-id {{session_lock_command}}; mode "default"; {{on_focus_workspace}} bindsym e exec --no-startup-id {{session_enable_screensaver_command}}; mode "default"; {{on_focus_workspace}} bindsym d exec --no-startup-id {{session_disable_screensaver_command}}; mode "default"; {{on_focus_workspace}}