home/Bin/wallpaper.sh

12 lines
186 B
Bash
Raw Normal View History

#! /bin/bash
# CONFIG
DIRECTORY="/home/dbroqua/Nextcloud/images/Wallpaper/Rotation"
# SCRIPT START HERE
SELECTED=`find ${DIRECTORY} -type f | shuf -n 1`
feh --bg-fill ${SELECTED}