aboutsummaryrefslogtreecommitdiff
path: root/wallpaper
diff options
context:
space:
mode:
Diffstat (limited to 'wallpaper')
-rwxr-xr-xwallpaper/setInitialWP.sh11
1 files changed, 11 insertions, 0 deletions
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