From: Simon Ruderich Date: Tue, 25 Aug 2015 09:22:19 +0000 (+0200) Subject: bin/xlockscreen: add support for xlock X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=commitdiff_plain;h=099a2a67634c1f0d141e196d07aaaecf28453bee bin/xlockscreen: add support for xlock --- diff --git a/bin/xlockscreen b/bin/xlockscreen index 88dbee5..3cd3be7 100755 --- a/bin/xlockscreen +++ b/bin/xlockscreen @@ -90,6 +90,8 @@ elif test x"$1" = xlock; then # Sleep is necessary to allow xtrlock to grab the keyboard input. sleep 1 xtrlock + elif installed xlock; then + xlock else echo 'No screen locker found!' exit 1