aboutsummaryrefslogtreecommitdiff
path: root/wallpaper/setRandomWP.sh
diff options
context:
space:
mode:
Diffstat (limited to 'wallpaper/setRandomWP.sh')
-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"