summary history branches tags files
commit:dab3330232a87c270088155cd3141e7596f5ba22
author:Trevor Bentley
committer:Trevor Bentley
date:Wed Nov 15 23:30:03 2017 +0100
parents:03b1f4de3d05c31cfeb09fb070beead993de8573
Run systemctl suspend on idle.
diff --git a/Cargo.lock b/Cargo.lock
line changes: +1/-1
index 0fadfcd..f6a2fe3
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1,6 +1,6 @@
 [root]
 name = "circadian"
-version = "0.1.0"
+version = "0.2.0-rc"
 dependencies = [
  "clap 2.27.1 (registry+https://github.com/rust-lang/crates.io-index)",
  "glob 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",

diff --git a/resources/circadian.conf.in b/resources/circadian.conf.in
line changes: +1/-1
index da124bd..a0fe5c4
--- a/resources/circadian.conf.in
+++ b/resources/circadian.conf.in
@@ -109,7 +109,7 @@ idle_time = 120m
 #      /org/freedesktop/UPower org.freedesktop.UPower.Suspend
 #
 # Default: pm-suspend
-on_idle = ""
+on_idle = "systemctl suspend"
 
 # Time of day (in local timezone) to automatically wake the machine if it
 # is sleeping.  Specify in 24-hour time format with a colon.  Leave blank