Created
December 10, 2025 10:43
-
-
Save KokoseiJ/3ab5fdb57f3715924b4681e70476153b to your computer and use it in GitHub Desktop.
wallpaper rotation using swaybg
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| while true; do | |
| swaybg -m fill -i $(find ~/orangestar/4x_esrgan -type f -name "*.png" -or -name "*.jpg" | shuf -n 1) & | |
| sleep 3; | |
| kill $PIDTOKILL; | |
| sleep 300; | |
| PIDTOKILL=$(pidof swaybg); | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment