From 5b2a71d26f050b48df94f6c85035a76ec8a44930 Mon Sep 17 00:00:00 2001 From: Quentin Duchemin Date: Thu, 10 Jan 2019 10:08:08 +0100 Subject: [PATCH] Proper way to suspend system --- .config/i3/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/i3/config b/.config/i3/config index 0d290fc..7874da3 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -157,7 +157,7 @@ set $Locker ~/.config/i3/lock/lock.sh bindsym $mod+l exec --no-startup-id $Locker && sleep 1 #Lock and suspend to RAM -bindsym $mod+Shift+l exec --no-startup-id $Locker && echo mem > /sys/power/state +bindsym $mod+Shift+l exec --no-startup-id $Locker && systemctl suspend exec_always --no-startup-id xset dpms 600 exec_always --no-startup-id xautolock -time 9 -locker $Locker