From dbe3ed9d309f9107370dc4bcba02a8daa70d66d8 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Mon, 6 Mar 2023 10:18:07 +0100 Subject: Use suspend-then-hibernate instead of suspend --- i3/bin/suspend-menu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i3/bin/suspend-menu b/i3/bin/suspend-menu index 7b8c802..46342ec 100755 --- a/i3/bin/suspend-menu +++ b/i3/bin/suspend-menu @@ -15,7 +15,7 @@ EOF CHOICE="$(print_options | dmenu -i -fn 'DejaVu Sans' -nb '#900000' -nf white -sb '#680a0a' -sf white)" case "$CHOICE" in - suspend) systemctl suspend ;; + suspend) sleep 5; systemctl suspend-then-hibernate ;; reboot) systemctl reboot ;; shutdown) shutdown now ;; "reload i3 configuration in-place") i3-msg reload ;; -- cgit v1.2.3