diff --git a/bin/lock b/bin/lock index 67b45db..382dcda 100755 --- a/bin/lock +++ b/bin/lock @@ -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 diff --git a/lock.png b/imgs/lock.png similarity index 100% rename from lock.png rename to imgs/lock.png