1 2 3 4 5
#!/bin/sh BACKS="/usr/share/backgrounds" i3lock -c 000000 -i $(shuf -n1 -e "$BACKS"/*) -t -f sleep 1 xset dpms force off