summaryrefslogtreecommitdiff
path: root/Scripts/lock
diff options
context:
space:
mode:
Diffstat (limited to 'Scripts/lock')
-rwxr-xr-xScripts/lock6
1 files changed, 6 insertions, 0 deletions
diff --git a/Scripts/lock b/Scripts/lock
new file mode 100755
index 0000000..89a0a0e
--- /dev/null
+++ b/Scripts/lock
@@ -0,0 +1,6 @@
+#!/bin/bash
+TMPBG=/tmp/screen.png
+scrot /tmp/screen.png
+magick $TMPBG -scale 10% -scale 1000% $TMPBG
+i3lock -u -i $TMPBG
+rm /tmp/screen.png