dotfiles/config/i3/blurlock

9 lines
183 B
Bash
Executable file

#!/bin/bash
i3-msg workspace Lock
imgpath=$(mktemp).png
scrot "$imgpath"
convert "$imgpath" -blur 0x5 "$imgpath"
i3lock -f -i "$imgpath"
i3-msg workspace back_and_forth
rm "$imgpath"