We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 253bfd1 commit 63e229dCopy full SHA for 63e229d
1 file changed
Configs/.local/lib/hyde/wallpaper.sh
@@ -222,10 +222,12 @@ main() {
222
Wall_Cache "${wallList[setIndex]}"
223
;;
224
s)
225
- if [ -n "${wallpaper_path}" ] && [ -f "${wallpaper_path}" ]; then
226
- get_hashmap "${wallpaper_path}"
+ if [ -z "${wallpaper_path}" ] && [ ! -f "${wallpaper_path}" ]; then
+ print_log -err "wallpaper" "Wallpaper not found: ${wallpaper_path}"
227
+ exit 1
228
fi
- Wall_Cache "${wallList[setIndex]}"
229
+ get_hashmap "${wallpaper_path}"
230
+ Wall_Cache
231
232
g)
233
if [ ! -e "${wallSet}" ]; then
0 commit comments