Skip to content

Commit 835faf3

Browse files
author
kRHYME7
committed
task: added more logging for get hash map
1 parent 2c0684b commit 835faf3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Configs/.local/lib/hyde/globalcontrol.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,13 @@ get_hashmap() {
4545
[ "${wallSource}" == "--no-notify" ] && no_notify=1 && continue
4646
[ "${wallSource}" == "--skipstrays" ] && skipStrays=1 && continue
4747
[ "${wallSource}" == "--verbose" ] && verboseMap=1 && continue
48+
49+
wallSource="$(realpath "${wallSource}")"
50+
4851
[ -e "${wallSource}" ] || {
4952
print_log -err "ERROR:" -b "wallpaper source does not exist:" "${wallSource}" -y " skipping..."
5053
continue
5154
}
52-
wallSource="$(realpath "${wallSource}")"
5355

5456
[ "${LOG_LEVEL}" == "debug" ] && print_log -g "DEBUG:" -b "wallSource path:" "${wallSource}"
5557

0 commit comments

Comments
 (0)