This commit is contained in:
2026-08-21 05:08:30 +09:00
parent 8086c9a7f3
commit 717572ae24
6 changed files with 43 additions and 98 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ let
'';
suspend = pkgs.writeShellScript "swayidle-suspend" ''
if ${onBattery} || ${isLocked}; then
if ${onBattery}; then
exec ${systemctl} suspend
fi
'';