Clean up lock script and move lock.png

This commit is contained in:
Nise Void 2020-05-15 11:33:56 +02:00
parent a6c45404d1
commit 28a578d280
Signed by: NiseVoid
GPG Key ID: FBA14AC83EA602F3
2 changed files with 2 additions and 5 deletions

View File

@ -13,16 +13,13 @@ fi
IMAGE=/tmp/screenlock.png
IMG="$HOME/.LinuxConfig/imgs/"
IMG=$IMG$(ls $IMG | sort -R | head -1)
echo $DIR
IMG="$HOME/.LinuxConfig/imgs/fuyu-logo.png"
maim -m 1 $IMAGE
convert $IMAGE -filter gaussian -blur 0x9 \
-gravity center -matte \
"$IMG[$SCALE]" -geometry $DIR -composite \
~/.LinuxConfig/lock.png -composite \
~/.LinuxConfig/imgs/lock.png -composite \
-font Noto-Sans-CJK-JP-Regular -pointsize 25 -fill 'rgba(255,255,255,0.85)' -draw "text 0,150 'Enter password'" \
-font Noto-Sans-CJK-JP-Regular -pointsize 20 -fill 'rgba(255,255,255,0.60)' -draw "text 0,200 'パスワードを入力する'" \
$IMAGE

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB