add cron-rest-eyes, lock-screen, mktrunktagsbranches

This commit is contained in:
Josh Holtrop committed 2011-05-04 10:16:32 -04:00
1 parent 7f50f525b2
commit aaf2f90cba
3 files changed
+17

No files matched your search

Executable
+10
View File
@@ -0,0 +1,10 @@
#!/bin/sh
# no message if one is displayed already
if [[ "`ps -efww | grep -v grep | grep gxmessage`" == "" ]]; then
# no message if screensaver active
if [ "`ps -efww | grep -v grep | grep xscreensaver`" == "" ]; then
export DISPLAY=:0
gxmessage 'Rest your eyes!'
fi
fi