]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - bin/xlockscreen
bin/xlockscreen: add support for xlock
[config/dotfiles.git] / 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