From 28a578d2802d2207506db8ea80f8c6ee8c50bfab Mon Sep 17 00:00:00 2001 From: NiseVoid Date: Fri, 15 May 2020 11:33:56 +0200 Subject: [PATCH] Clean up lock script and move lock.png --- bin/lock | 7 ++----- lock.png => imgs/lock.png | Bin 2 files changed, 2 insertions(+), 5 deletions(-) rename lock.png => imgs/lock.png (100%) 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