blob: ea2c5f215853a0dfdc5dae5f391b354afacd7ade (
plain)
1
2
3
4
5
6
7
|
#!/bin/sh
vertical=$(($(xdotool getdisplaygeometry | awk '{print $2}') - newsize))
horizontal=$(($(xdotool getdisplaygeometry | awk '{print $1}') - newwidth))
convert $1 -resize ${horizontal}x${vertical}\> ~/.config/lockwall.png
convert ~/.config/lockwall.png ~/.config/lock.png -gravity center -composite ~/.config/lockwall.png
|