diff options
Diffstat (limited to 'dot_config/i3/scripts/executable_blur-lock')
-rw-r--r-- | dot_config/i3/scripts/executable_blur-lock | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dot_config/i3/scripts/executable_blur-lock b/dot_config/i3/scripts/executable_blur-lock new file mode 100644 index 0000000..4ff7ed6 --- /dev/null +++ b/dot_config/i3/scripts/executable_blur-lock | |||
@@ -0,0 +1,11 @@ | |||
1 | #!/usr/bin/env bash | ||
2 | |||
3 | PICTURE=/tmp/i3lock.png | ||
4 | SCREENSHOT="scrot -z $PICTURE" | ||
5 | |||
6 | BLUR="5x4" | ||
7 | |||
8 | $SCREENSHOT | ||
9 | convert $PICTURE -blur $BLUR $PICTURE | ||
10 | i3lock -i $PICTURE | ||
11 | rm $PICTURE | ||