#!/bin/sh wallpaper=$(find $HOME/Pictures/wallpaper -type f | awk '!/.git/' | shuf -n 1) echo $wallpaper > /tmp/currwallpaper.txt feh --no-fehbg --bg-fill "$wallpaper"