Delete previous lock screen background
This commit is contained in:
parent
d120cd9d09
commit
f4a6f4c0b8
1 changed files with 1 additions and 0 deletions
1
bin/lock
1
bin/lock
|
@ -5,6 +5,7 @@ IFS=$'\n\t'
|
|||
|
||||
LOCK_BG_FILE="/tmp/lock_screen.png"
|
||||
|
||||
rm -f "$LOCK_BG_FILE"
|
||||
scrot "$LOCK_BG_FILE"
|
||||
mogrify -filter Gaussian -resize 50% -define filter:sigma=2.5 -resize 200% "$LOCK_BG_FILE"
|
||||
mogrify -font Liberation-Sans -fill white -undercolor '#00000080' -pointsize 30 -gravity South -annotate +0+200 "Screen locked" "$LOCK_BG_FILE"
|
||||
|
|
Loading…
Reference in a new issue