]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
bin/xlockscreen: add support for xlock
authorSimon Ruderich <simon@ruderich.org>
Tue, 25 Aug 2015 09:22:19 +0000 (11:22 +0200)
committerSimon Ruderich <simon@ruderich.org>
Tue, 25 Aug 2015 09:22:19 +0000 (11:22 +0200)
bin/xlockscreen

index 88dbee5f1fcd58bcbcbd0967d1b137cea8f54f73..3cd3be7a9822860821fc5ea632dbf02290a3f2e2 100755 (executable)
@@ -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