summaryrefslogtreecommitdiff
path: root/.local/bin/desktop/i3exit-script
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/desktop/i3exit-script')
-rwxr-xr-x.local/bin/desktop/i3exit-script18
1 files changed, 18 insertions, 0 deletions
diff --git a/.local/bin/desktop/i3exit-script b/.local/bin/desktop/i3exit-script
new file mode 100755
index 0000000..b27f0f5
--- /dev/null
+++ b/.local/bin/desktop/i3exit-script
@@ -0,0 +1,18 @@
+#!/bin/bash
+# TODO: copy and configure the i3 script to take parametres
+# possibly make it as syst-power
+
+# snippet for blur effect on lock screen
+
+
+# DEPEDNDENCIES: i3lock imagemagic scrot
+
+PICTURE=/tmp/i3lock.png
+SCREENSHOT="scrot $PICTURE"
+
+BLUR="5x4"
+
+$SCREENSHOT
+convert $PICTURE -blur $BLUR $PICTURE
+i3lock -i $PICTURE
+rm $PICTURE