Skip to content

Instantly share code, notes, and snippets.

@beardhatcode
Created December 25, 2012 18:26
#! /bin/bash
dir=/home/gar_onn/Pictures/background
file=`ls $dir|grep -iv '\.sh$' |sort -R| head -1`
full=file:///$dir/$file
gsettings set org.gnome.desktop.background picture-uri $full
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment