diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2022-09-22 14:24:31 +0200 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2022-09-22 14:24:31 +0200 |
commit | 3a30931387d425e88e0df71784dd1d9d6581f55e (patch) | |
tree | aadfc875899f1063e9a13d11f800d5e9bdd1a9ba /wallpaper | |
parent | d455768923f94c63f005a8c7046d431c7f8a99d5 (diff) | |
download | scripts-3a30931387d425e88e0df71784dd1d9d6581f55e.tar.gz scripts-3a30931387d425e88e0df71784dd1d9d6581f55e.zip |
Moved images folder to new media home folder.
Diffstat (limited to 'wallpaper')
-rwxr-xr-x | wallpaper/setRandomWP.sh | 2 |
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" |