about summary refs log tree commit diff
path: root/.local/bin/lock-screen
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/lock-screen')
-rwxr-xr-x.local/bin/lock-screen13
1 files changed, 0 insertions, 13 deletions
diff --git a/.local/bin/lock-screen b/.local/bin/lock-screen
deleted file mode 100755
index 4307c9a..0000000
--- a/.local/bin/lock-screen
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/usr/bin/env bash
-
-if [[ $1 =~ ^[0-9]+$ ]]; then
-    SLEEP_DURATION=$1
-else
-    SLEEP_DURATION=10
-fi
-
-grim /tmp/lockscreen-0.png
-magick /tmp/lockscreen-0.png -scale 10% -blur 0x1 -resize 1000% /tmp/lockscreen.png
-swaylock -i /tmp/lockscreen.png &
-sleep $SLEEP_DURATION
-systemctl sleep