aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-08-11 18:24:23 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-08-11 18:24:23 +0200
commit8fb95d8d39ead922f37f13634476693973d2607f (patch)
treeeefdfd3013a13ea7abe1b5d606d083f5ddf0d418
parentd8c72fbb2f4262573a0e2a8e2aee487742931b0f (diff)
sleepwalk: Use systemctl suspend
-rwxr-xr-xsleepwalk3
1 files changed, 2 insertions, 1 deletions
diff --git a/sleepwalk b/sleepwalk
index da5d9d3..ba3da29 100755
--- a/sleepwalk
+++ b/sleepwalk
@@ -68,7 +68,8 @@ while :
do
if can_suspend
then
- rtcwake -m mem -s 600 || :
+ rtcwake -m no -s 600 || :
+ systemctl suspend
if can_suspend
then