From 096ac3f76aef64bcd823e32f5e5cf8730b3f3d5f Mon Sep 17 00:00:00 2001 From: funman300 Date: Sun, 10 May 2026 17:30:32 -0700 Subject: [PATCH] powermenu: route Sleep through suspend-then-hibernate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Aligns the third sleep path (power menu) with the lid handler and the swayidle 30-min timer — all three now suspend immediately and hibernate after HibernateDelaySec (30 min). Co-Authored-By: Claude Opus 4.7 (1M context) --- scripts/powermenu.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/powermenu.sh b/scripts/powermenu.sh index 3020d62..1750ca3 100755 --- a/scripts/powermenu.sh +++ b/scripts/powermenu.sh @@ -13,6 +13,6 @@ CHOICE=$(printf " Logout\n Restart\n Sleep\n Shutdown" \ case "$CHOICE" in Logout) niri msg action quit ;; Restart) systemctl reboot ;; - Sleep) systemctl suspend ;; + Sleep) systemctl suspend-then-hibernate ;; Shutdown) systemctl poweroff ;; esac