wallpaperctl/usr/local/bin/gnome_rotate_wallpaper

4 lines
170 B
Plaintext
Raw Normal View History

2021-05-13 21:46:12 +00:00
#!/bin/bash
selection=$(find $WALLPAPER_DIR -type f -name "*.jpg" -o -name "*.png" | shuf -n1)
gsettings set org.gnome.desktop.background picture-uri "file://$selection"