jautolock will fire a program after specified time of user inactivity. It is intended to replace xautolock.
jautolock has the following dependencies:
- confuse
- libxdg-basedir
- libxss
jautolock is developed at https://github.com/johnchen902/jautolock
Compiling is done with the usual make-line
make && sudo make install
Put your config at ~/.config/jautolock/config
Sample config:
task notify {
time = 50
command = "notify-send jautolock \"10 seconds before locking\""
}
task lock {
time = 60
command = "i3lock -nc 000000"
}