• Lucy :3@feddit.org
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    Though you still have to suspend by yourself when you’re done.

    Does

    ExecPost=systemctl suspend
    

    work ?

    • Björn Tantau@swg-empire.deOP
      link
      fedilink
      arrow-up
      1
      ·
      2 months ago

      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.