diff options
Diffstat (limited to 'bin/xorg_lock')
-rwxr-xr-x | bin/xorg_lock | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/bin/xorg_lock b/bin/xorg_lock deleted file mode 100755 index 6ddeb0c..0000000 --- a/bin/xorg_lock +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env bash - -set -euo pipefail - -lock_file=${XDG_RUNTIME_DIR}/xorg_autolock.lock -lock_cmd="i3lock -n -e -c 000000 -f" - -if [ -x "/usr/bin/i3lock" ]; then - touch "${lock_file}" - ${lock_cmd} - rm -f "${lock_file}" -else - echo "i3lock is not installed!" - exit 1 -fi -exit 0 |