diff options
Diffstat (limited to 'xinit/Scripts/lock.sh')
-rwxr-xr-x | xinit/Scripts/lock.sh | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/xinit/Scripts/lock.sh b/xinit/Scripts/lock.sh index 49cc197..aff989d 100755 --- a/xinit/Scripts/lock.sh +++ b/xinit/Scripts/lock.sh @@ -1,11 +1,9 @@ #!/usr/bin/env bash LOCKFILE=/tmp/lockscreen.png +INFILE=$HOME/Pictures/current_wall -scrot -o $LOCKFILE -size=$(identify -format "%[fx:w]x%[fx:h]" "$LOCKFILE") +convert $INFILE -blur 10x10 $LOCKFILE -convert $LOCKFILE -scale 70 -sample $size\! -quality 11 $LOCKFILE - -# i3lock -i $LOCKFILE +i3lock -i $LOCKFILE |