1 2 3 4 5 6 7 8 9 10 11 12 13#!/bin/bash # produce lock screen IMAGE=/tmp/i3lock.png scrot $IMAGE convert -scale 10% -scale 1000% $IMAGE $IMAGE i3lock -i $IMAGE systemctl suspend rm $IMAGE
1 2 3 4 5 6 7 8 9 10 11 12 13
#!/bin/bash # produce lock screen IMAGE=/tmp/i3lock.png scrot $IMAGE convert -scale 10% -scale 1000% $IMAGE $IMAGE i3lock -i $IMAGE systemctl suspend rm $IMAGE