aboutsummaryrefslogtreecommitdiff
path: root/wallpaper
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2022-09-22 14:24:31 +0200
committerInigoGutierrez <inigogf.95@gmail.com>2022-09-22 14:24:31 +0200
commit3a30931387d425e88e0df71784dd1d9d6581f55e (patch)
treeaadfc875899f1063e9a13d11f800d5e9bdd1a9ba /wallpaper
parentd455768923f94c63f005a8c7046d431c7f8a99d5 (diff)
downloadscripts-3a30931387d425e88e0df71784dd1d9d6581f55e.tar.gz
scripts-3a30931387d425e88e0df71784dd1d9d6581f55e.zip
Moved images folder to new media home folder.
Diffstat (limited to 'wallpaper')
-rwxr-xr-xwallpaper/setRandomWP.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/wallpaper/setRandomWP.sh b/wallpaper/setRandomWP.sh
index 218e68b..1c4bb3d 100755
--- a/wallpaper/setRandomWP.sh
+++ b/wallpaper/setRandomWP.sh
@@ -3,7 +3,7 @@
# Sets a random image as wallpaper and soft-links it from home folder.
wpsFolder="$CONFIG_FOLDER_RANDOMWP"
-[ -z "$wpsFolder" ] && dunstify '$CONFIG_FOLDER_RANDOMWP env variable not set.' && exit 0
+[ -z "$wpsFolder" ] && dunstify 'CONFIG_FOLDER_RANDOMWP env variable not set.' && exit 0
[ ! -d "$wpsFolder" ] && dunstify "'$CONFIG_FOLDER_RANDOMWP' folder does not exist." && exit 0
wpFile="$(find "$CONFIG_FOLDER_RANDOMWP" | shuf -n 1)"
wpPointer.sh "$wpFile"