before-sleep doesn't work rtcwake
EvilBoi123 opened this issue · 1 comments
EvilBoi123 commented
In theory, swayidle should activate before-sleep command before sleep but in this case rtcwake doesn't work.
You can try:
sudo rtcwake -m mem -t $(date +%s -d 'today + 30sec')
to test it out
emersion commented
I believe rtcwake
bypasses systemd. swayidle relies on systemd for before-sleep. I don't think we can do anything about this.