I'm using manjaro (5.8.18-1-MANJARO) and the i3 window manager.
I'm trying to lock the screen then suspend activity after given amounts of idle time. I've found that xautolock should suit my needs using both the -locker and -killer flags. My i3 config contains the following :
exec --no-startup-id xautolock -time 5 -locker blurlock -notify 15 -notifier "notify-send 'Screen will lock in 15 s'" -detectsleep -killtime 60 -killer "systemctl suspend"
However, this doesn't seem to work:
- The locker part works fine, but system doesn't suspend after 60 minutes.
- If I suspend the system manually (I'm using a modified version of the
i3exitscript, the executed command isxautolock -locknow && systemctl suspend), then the system suspends again shortly after i resumed it. This behavior started very recently, I think after a system update, and I don't think I've changed anything else than thei3exitmyself in system settings / config. I don't know what could be putting the system to sleep again since I don't have any power-manager activated to my knowledge.
Thanks for your help !