aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/i3lock7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/i3lock b/bin/i3lock
new file mode 100755
index 0000000..2958667
--- /dev/null
+++ b/bin/i3lock
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+image_location=/tmp/$(whoami)/screen_locked.png
+
+xset b off
+scrot -q 100 $image_location
+convert -quality 1 -implode 1 -motion-blur 16x10 $image_location $image_location
+i3lock -i $image_location -ef