You are not logged in.
I want to have my DWM, run slock (screen locker) after a number of minutes of inactivity
Thank you
Offline
It would probably be easier to run xscreensaver, since it can take care of the timing and such.
Offline
Don't use xscreensaver, it's somewhat bloated. Just use xlockmore from the AUR. Put it into the .xinitrc and read the man page for help on it.
Offline
You can use sinac to monitor the time.
while :; do
sinac -w 300 && slock
done
Last edited by steve___ (2010-07-02 01:16:59)
Offline
Install xautolock from AUR. Then add the following to your ~/.xinitrc:
xautolock -time 10 -locker slock -nowlocker slock -detectsleep -corners 000+ -cornerdelay 3 &
...locks in 10 minutes of inactivity, or whenever you place the mouse cursor in the bottom right corner for 3 seconds.
Last edited by thayer (2010-07-02 02:53:39)
thayer williams ~ cinderwick.ca
Offline