1 2 3 4
#!/bin/sh # Usage: swaybg-random directory exec swaybg -i "$(find ~/bg/. -type f | shuf -n1)" -m fill