aboutsummaryrefslogtreecommitdiffstats
path: root/bin/xorg_lock
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2023-12-03 18:33:16 +0100
committerDavid Runge <dave@sleepmap.de>2023-12-03 18:33:16 +0100
commit2f694cefe3d30fe65320941bb5ee77472fff0e2b (patch)
tree84aa7554b4ea733302a1ef62229dbfa67f50474e /bin/xorg_lock
parent6760e35c003b7a8efd9f3564773e5ff6a73bfe60 (diff)
downloaddotfiles-2f694cefe3d30fe65320941bb5ee77472fff0e2b.tar.gz
dotfiles-2f694cefe3d30fe65320941bb5ee77472fff0e2b.tar.bz2
dotfiles-2f694cefe3d30fe65320941bb5ee77472fff0e2b.tar.xz
dotfiles-2f694cefe3d30fe65320941bb5ee77472fff0e2b.zip
bin: Remove unused scripts
Signed-off-by: David Runge <dave@sleepmap.de>
Diffstat (limited to 'bin/xorg_lock')
-rwxr-xr-xbin/xorg_lock16
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