summaryrefslogtreecommitdiff
path: root/Scripts/lock
diff options
context:
space:
mode:
authorSimon <vesspa0330@gmail.com>2024-12-01 12:30:15 -0500
committerSimon <vesspa0330@gmail.com>2024-12-01 12:30:15 -0500
commita22fb4cd71a926e930646be021190e4c7cd11d52 (patch)
tree57526fff2b3d9b5c9fccb5c885e0fc56cd5395e2 /Scripts/lock
parent8449f016125fc28013dae88b1392bac16fb43a43 (diff)
general update
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