Clean up lock script and move lock.png
This commit is contained in:
parent
a6c45404d1
commit
28a578d280
7
bin/lock
7
bin/lock
@ -13,16 +13,13 @@ fi
|
|||||||
|
|
||||||
IMAGE=/tmp/screenlock.png
|
IMAGE=/tmp/screenlock.png
|
||||||
|
|
||||||
IMG="$HOME/.LinuxConfig/imgs/"
|
IMG="$HOME/.LinuxConfig/imgs/fuyu-logo.png"
|
||||||
IMG=$IMG$(ls $IMG | sort -R | head -1)
|
|
||||||
|
|
||||||
echo $DIR
|
|
||||||
|
|
||||||
maim -m 1 $IMAGE
|
maim -m 1 $IMAGE
|
||||||
convert $IMAGE -filter gaussian -blur 0x9 \
|
convert $IMAGE -filter gaussian -blur 0x9 \
|
||||||
-gravity center -matte \
|
-gravity center -matte \
|
||||||
"$IMG[$SCALE]" -geometry $DIR -composite \
|
"$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 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 'パスワードを入力する'" \
|
-font Noto-Sans-CJK-JP-Regular -pointsize 20 -fill 'rgba(255,255,255,0.60)' -draw "text 0,200 'パスワードを入力する'" \
|
||||||
$IMAGE
|
$IMAGE
|
||||||
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Loading…
Reference in New Issue
Block a user