blob: 49cc19797a1d735b52ad10354299bbc976523b2c (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/usr/bin/env bash
LOCKFILE=/tmp/lockscreen.png
scrot -o $LOCKFILE
size=$(identify -format "%[fx:w]x%[fx:h]" "$LOCKFILE")
convert $LOCKFILE -scale 70 -sample $size\! -quality 11 $LOCKFILE
# i3lock -i $LOCKFILE
|