Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Desktop wallpaper change script Kubuntu
#!/bin/bash
DIR="/home/your.user/Pictures/wallpapers"
PIC=$(ls $DIR/* | shuf -n1)
gsettings set org.gnome.desktop.background picture-uri "file://$PIC"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment