Launch xscreensaver if it isn't running.
authorIain Patterson <me@iain.cx>
Fri, 29 Feb 2008 15:56:06 +0000 (15:56 +0000)
committerIain Patterson <me@iain.cx>
Fri, 29 Feb 2008 15:56:06 +0000 (15:56 +0000)
git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@102 6be0d1a5-5cfe-0310-89b6-964be062b18b

.xbindkeys/lock

index 835eb23..72802c6 100755 (executable)
@@ -1 +1,4 @@
+# Launch XScreenSaver if it isn't already running.
+flock --timeout=1 ~/.xscreensaver.lock xscreensaver &
+# And lock the screen.
 xscreensaver-command -lock