From 7a7de95e164f94ef3a9ab1c9adce88c5c6b8dd8f Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Fri, 29 Feb 2008 15:56:06 +0000 Subject: [PATCH] Launch xscreensaver if it isn't running. git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@102 6be0d1a5-5cfe-0310-89b6-964be062b18b --- .xbindkeys/lock | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.xbindkeys/lock b/.xbindkeys/lock index 835eb23..72802c6 100755 --- a/.xbindkeys/lock +++ b/.xbindkeys/lock @@ -1 +1,4 @@ +# Launch XScreenSaver if it isn't already running. +flock --timeout=1 ~/.xscreensaver.lock xscreensaver & +# And lock the screen. xscreensaver-command -lock -- 2.7.4