Created
November 19, 2023 18:59
-
-
Save Rayquaza01/560e544280bd5fefa19263d48f15c9b9 to your computer and use it in GitHub Desktop.
Wallpaper Shuffle
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 | |
| WALLPAPER_PATH=$HOME/Pictures/Wallpapers/Shuffle | |
| WALLPAPER=$(find "$WALLPAPER_PATH" -type f -name "*.jpg" -o -name "*.png" | shuf -n 1) | |
| gsettings set org.gnome.desktop.background picture-uri "file://$WALLPAPER" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment