Skip to content

Instantly share code, notes, and snippets.

Joshua Chan JoshuaJChan

View GitHub Profile
@rduplain
rduplain / xscreensaver-watch.sh
Created Oct 8, 2012
Watch xscreensaver lock/unlock events and act on them.
View xscreensaver-watch.sh
#!/bin/sh
# Watch xscreensaver and react to status changes.
#
# Replaced my previous perl-based recipe with this:
# http://semicomplete.googlecode.com/svn/tools/xscreensaver-watch.sh
#
# Include somewhere in X session startup with:
#
# xscreensaver-watch &
You can’t perform that action at this time.