diff options
author | clarkzjw <[email protected]> | 2022-11-17 10:56:25 -0800 |
---|---|---|
committer | clarkzjw <[email protected]> | 2022-11-17 10:56:25 -0800 |
commit | d2d735742ca61b211c9b48a2209d36395daebcf4 (patch) | |
tree | bda27729a1bbac3ab354a1f10d4885899cdbf967 /dot_config/i3/scripts/executable_blur-lock | |
parent | a6d2e5e6fb9adc84c32e86630b4846b1765c7d77 (diff) | |
download | dotfiles-d2d735742ca61b211c9b48a2209d36395daebcf4.tar.gz |
+ add existing config
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 | ||