diff options
Diffstat (limited to '.config/i3/lock.sh')
| -rwxr-xr-x | .config/i3/lock.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.config/i3/lock.sh b/.config/i3/lock.sh new file mode 100755 index 0000000..6537bef --- /dev/null +++ b/.config/i3/lock.sh @@ -0,0 +1,8 @@ +#!/bin/bash +scrot /tmp/screen.png +#convert /tmp/screen.png -scale 10% -scale 1000% /tmp/screen.png +#convert /tmp/screen.png -paint 3 -modulate 80 /tmp/screen.png +convert /tmp/screen.png -paint 3 /tmp/screen.png +[[ -f ~/.config/i3/lock.png ]] && convert /tmp/screen.png ~/.config/i3/lock.png -gravity center -composite -matte /tmp/screen.png +mocp -P +i3lock -u -e -i /tmp/screen.png |
