From: martin f. krafft Date: Fri, 22 Aug 2008 07:11:43 +0000 (+0100) Subject: only start xscreensaver if not already running X-Git-Url: https://git.madduck.net/etc/xscreensaver.git/commitdiff_plain/924f569a379808afe93f97c1be0e0961e89e9736?ds=inline;hp=f2c8d13fe6ebb3fe495d3c322ce0d10dc3fa6bb2 only start xscreensaver if not already running Signed-off-by: martin f. krafft --- diff --git a/.xsession.d/10-xscreensaver b/.xsession.d/10-xscreensaver index 58b2553..2601a6f 100644 --- a/.xsession.d/10-xscreensaver +++ b/.xsession.d/10-xscreensaver @@ -1 +1 @@ -nice -20 xscreensaver & +pidof xscreensaver >/dev/null || nice -20 xscreensaver &