diff options
Diffstat (limited to 'config/herbstluftwm/lock.sh')
| -rwxr-xr-x | config/herbstluftwm/lock.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config/herbstluftwm/lock.sh b/config/herbstluftwm/lock.sh new file mode 100755 index 0000000..04c4638 --- /dev/null +++ b/config/herbstluftwm/lock.sh | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | #!/bin/bash | ||
| 2 | |||
| 3 | SCREENCAP="/tmp/lock.png" | ||
| 4 | scrot $SCREENCAP | ||
| 5 | convert -gaussian-blur "12x3" $SCREENCAP $SCREENCAP | ||
| 6 | i3lock -i $SCREENCAP | ||
| 7 | rm $SCREENCAP | ||
