From 5c916d69d457101326803eb076a746060e3618cf Mon Sep 17 00:00:00 2001 From: Vikas Kushwaha Date: Thu, 21 Nov 2024 13:30:52 +0530 Subject: Moved from github --- .local/bin/desktop/i3exit-script | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 .local/bin/desktop/i3exit-script (limited to '.local/bin/desktop/i3exit-script') 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 -- cgit v1.2.3