From 7c931534664acb414bf6c63f82e1a4ec8a33e1e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Victor?= Date: Mon, 20 Apr 2026 00:35:24 -0300 Subject: [PATCH 1/2] config: change default shell behavior from suspend-then-hibernate to suspend suspend-then-hibernate depends on system hibernation being properly configured. Without it, the action may fail. The default is now suspend to ensure reliability. --- plugin/src/Caelestia/Config/generalconfig.hpp | 2 +- plugin/src/Caelestia/Config/launcherconfig.hpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin/src/Caelestia/Config/generalconfig.hpp b/plugin/src/Caelestia/Config/generalconfig.hpp index 73a4915d1..60c7d9feb 100644 --- a/plugin/src/Caelestia/Config/generalconfig.hpp +++ b/plugin/src/Caelestia/Config/generalconfig.hpp @@ -43,7 +43,7 @@ class GeneralIdle : public ConfigObject { }), vmap({ { u"timeout"_s, 600 }, - { u"idleAction"_s, QStringList{ u"systemctl"_s, u"suspend-then-hibernate"_s } }, + { u"idleAction"_s, QStringList{ u"systemctl"_s, u"suspend"_s } }, }), }) diff --git a/plugin/src/Caelestia/Config/launcherconfig.hpp b/plugin/src/Caelestia/Config/launcherconfig.hpp index 049e213ae..a709ef684 100644 --- a/plugin/src/Caelestia/Config/launcherconfig.hpp +++ b/plugin/src/Caelestia/Config/launcherconfig.hpp @@ -115,8 +115,8 @@ class LauncherConfig : public ConfigObject { vmap({ { u"name"_s, u"Sleep"_s }, { u"icon"_s, u"bedtime"_s }, - { u"description"_s, u"Suspend then hibernate"_s }, - { u"command"_s, QStringList{ u"systemctl"_s, u"suspend-then-hibernate"_s } }, + { u"description"_s, u"Suspend to RAM"_s }, + { u"command"_s, QStringList{ u"systemctl"_s, u"suspend"_s } }, }), vmap({ { u"name"_s, u"Settings"_s }, From aa84c5019caf1788dd8b3f21cc019f07c63af3df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Victor?= Date: Mon, 20 Apr 2026 00:37:46 -0300 Subject: [PATCH 2/2] docs(readme): replace suspend-then-hibernate with suspend in examples --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f5849cb8d..fcbddb86a 100644 --- a/README.md +++ b/README.md @@ -344,7 +344,7 @@ For example, to disable the bar on DP-1: }, { "timeout": 600, - "idleAction": ["systemctl", "suspend-then-hibernate"] + "idleAction": ["systemctl", "suspend"] } ] } @@ -598,8 +598,8 @@ For example, to disable the bar on DP-1: { "name": "Sleep", "icon": "bedtime", - "description": "Suspend then hibernate", - "command": ["systemctl", "suspend-then-hibernate"], + "description": "Suspend to RAM", + "command": ["systemctl", "suspend"], "enabled": true, "dangerous": false },