aboutsummaryrefslogtreecommitdiff
path: root/wallpaper
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2023-03-10 18:48:59 +0100
committerInigoGutierrez <inigogf.95@gmail.com>2023-03-10 18:48:59 +0100
commit66997994dfa762532dcf52e4834281f7368f0a08 (patch)
tree2cb554f6417cac2ca1dfcf3f1126f9acc5f878d5 /wallpaper
parent872e287d1242a2baff74784f9245a4446c6455d3 (diff)
downloadscripts-66997994dfa762532dcf52e4834281f7368f0a08.tar.gz
scripts-66997994dfa762532dcf52e4834281f7368f0a08.zip
Initial wallpaper.
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