#!/bin/sh wallpaper_path=/home/frank/Pictures/wallpapers/ image=$(ls $wallpaper_path | grep -E '(jpg|png)$' | sort -R | tail -1) feh --no-fehbg --bg-fill $wallpaper_path/$image &