Just to comment on what the killer feature is from xautolock, it's meant to just run a second timer for a second command...even though the name is not great. So, for instance, I used to have it so that my computer would lock after 5 minutes and then suspend after an hour:
In the case of xidlehook, there's no need for this functionality. As you can run more than one xidlehook, I personally am simply running one that does the locking and one that does the suspending:
Just to comment on what the
killer
feature is from xautolock, it's meant to just run a second timer for a second command...even though the name is not great. So, for instance, I used to have it so that my computer would lock after 5 minutes and then suspend after an hour:xautolock -time 5 -locker i3lock -corners +000 -cornerdelay 1 -killer "systemctl suspend" -killtime 60
In the case of
xidlehook
, there's no need for this functionality. As you can run more than one xidlehook, I personally am simply running one that does the locking and one that does the suspending:(From my i3/config file)