diff --git a/scripts/lock b/scripts/lock index d8eabb4..f485b0d 100755 --- a/scripts/lock +++ b/scripts/lock @@ -6,6 +6,6 @@ test $# -eq 1 && icon=$1 scrot $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 rm $tmpbg