From: Iain Patterson Date: Fri, 29 Feb 2008 15:56:06 +0000 (+0000) Subject: Launch xscreensaver if it isn't running. X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=7a7de95e164f94ef3a9ab1c9adce88c5c6b8dd8f;p=profile.git Launch xscreensaver if it isn't running. git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@102 6be0d1a5-5cfe-0310-89b6-964be062b18b --- 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