summaryrefslogtreecommitdiff
path: root/.local/bin/desktop/i3exit-script
blob: b27f0f5dbf8a73d60e5a02c963992128fec160f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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