summaryrefslogtreecommitdiff
path: root/.i3/scripts
diff options
context:
space:
mode:
Diffstat (limited to '.i3/scripts')
-rwxr-xr-x.i3/scripts/xlock.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/.i3/scripts/xlock.sh b/.i3/scripts/xlock.sh
new file mode 100755
index 0000000..f091e73
--- /dev/null
+++ b/.i3/scripts/xlock.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+scrot /tmp/screen_locked1.png
+convert /tmp/screen_locked1.png -scale 5% -scale 2000% /tmp/screen_locked2.png
+i3lock -i /tmp/screen_locked2.png
+
+rm -f /tmp/screen_locked?.png