Salt
2ed6bfff7c
Because of a stupid little typo, it wouldn't overlay the correct image on the lock screen.
10 lines
244 B
Bash
Executable File
10 lines
244 B
Bash
Executable File
#!/bin/sh
|
|
SHOT=/tmp/lockimg.png
|
|
LOCKIMAGE=$HOME/.i3lockicon
|
|
import -window root $SHOT
|
|
|
|
convert $SHOT -scale 10% -scale 1000% $SHOT
|
|
[[ -f $LOCKIMAGE ]] && convert $SHOT $LOCKIMAGE -gravity center -composite -matte $SHOT
|
|
i3lock -i $SHOT
|
|
rm $SHOT
|