From 66997994dfa762532dcf52e4834281f7368f0a08 Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Fri, 10 Mar 2023 18:48:59 +0100 Subject: Initial wallpaper. --- wallpaper/setInitialWP.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 wallpaper/setInitialWP.sh (limited to 'wallpaper') diff --git a/wallpaper/setInitialWP.sh b/wallpaper/setInitialWP.sh new file mode 100755 index 0000000..fc5d271 --- /dev/null +++ b/wallpaper/setInitialWP.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +# Sets the initial wallpaper: either a specific one if default is set or a random one if default is not set. + +defaultWP="$CONFIG_DEFAULTWP" + +if [ -f "$defaultWP" ]; then + wpPointer.sh "$defaultWP" +else + setRandomWP.sh +fi -- cgit v1.2.1