Björn Tantau@swg-empire.de to linuxmemes@lemmy.world · 2 months agoSchedule ALL the things for the nightswg-empire.deexternal-linkmessage-square9linkfedilinkarrow-up14arrow-down10file-text
arrow-up14arrow-down1external-linkSchedule ALL the things for the nightswg-empire.deBjörn Tantau@swg-empire.de to linuxmemes@lemmy.world · 2 months agomessage-square9linkfedilinkfile-text
cross-posted from: https://swg-empire.de/post/3428368 Though you still have to suspend by yourself when you’re done.
minus-squareLucy :3@feddit.orglinkfedilinkarrow-up0·2 months agoThough you still have to suspend by yourself when you’re done. Does ExecPost=systemctl suspend work ?
minus-squareBjörn Tantau@swg-empire.deOPlinkfedilinkarrow-up1·2 months agoProbably. But what if the timer triggered during normal operation? Then your computer would suddenly suspend on its own and you wouldn’t know why. I’ve already made a feature request to only run when the system is suspended. Until then I’ll look at when the system woke up and if that was less than a minute ago turn off the display and suspend after everything is done.
Though you still have to suspend by yourself when you’re done.
Does
ExecPost=systemctl suspend
work ?
Probably.
But what if the timer triggered during normal operation? Then your computer would suddenly suspend on its own and you wouldn’t know why.
I’ve already made a feature request to only run when the system is suspended.
Until then I’ll look at when the system woke up and if that was less than a minute ago turn off the display and suspend after everything is done.
Doing God’s work …