Skip to content

Instantly share code, notes, and snippets.

💭
Currently craving to learn

Joshua Chan JoshuaJChan

💭
Currently craving to learn
Block or report user

Report or block JoshuaJChan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
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.