scripts/lock: adapt to new small icon

This commit is contained in:
Michele Guerini Rocco 2021-02-07 11:16:10 +01:00
parent e08878d841
commit d2ef3b77e2
Signed by: rnhmjoj
GPG Key ID: BFBAF4C975F76450

View File

@ -6,6 +6,6 @@ test $# -eq 1 && icon=$1
scrot $tmpbg scrot $tmpbg
gm convert $tmpbg -scale 10% -scale 1000% $tmpbg gm convert $tmpbg -scale 10% -scale 1000% $tmpbg
gm composite -resize 256x256^ -gravity center "$icon" $tmpbg $tmpbg gm composite -filter point -resize 48x48 -gravity center "$icon" $tmpbg $tmpbg
i3lock -u -i $tmpbg 2>/dev/null i3lock -u -i $tmpbg 2>/dev/null
rm $tmpbg rm $tmpbg