Closed EvilBoi123 closed 11 months ago
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')
sudo rtcwake -m mem -t $(date +%s -d 'today + 30sec')
to test it out
I believe rtcwake bypasses systemd. swayidle relies on systemd for before-sleep. I don't think we can do anything about this.
rtcwake
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