home/bin/wallpaper.sh
2021-01-24 15:16:13 +01:00

11 lines
186 B
Bash
Executable file

#! /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}