Skip to content

Commit c1367cb

Browse files
author
kRHYME7
committed
task: move the aggressive notification when no compatible wallpaper.
1 parent 835faf3 commit c1367cb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ get_hashmap() {
107107

108108
# Notify the list of directories without compatible wallpapers
109109
if [ "${#no_wallpapers[@]}" -gt 0 ]; then
110-
[ -n "${no_notify}" ] && notify-send -a "HyDE Alert" "WARNING: No compatible wallpapers found in: ${no_wallpapers[*]}"
110+
# [ -n "${no_notify}" ] && notify-send -a "HyDE Alert" "WARNING: No compatible wallpapers found in: ${no_wallpapers[*]}"
111111
print_log -warn "No compatible wallpapers found in:" "${no_wallpapers[*]}"
112112
fi
113113

@@ -116,6 +116,7 @@ get_hashmap() {
116116
return 1
117117
else
118118
echo "ERROR: No image found in any source"
119+
[ -n "${no_notify}" ] && notify-send -a "HyDE Alert" "WARNING: No compatible wallpapers found in: ${no_wallpapers[*]}"
119120
exit 1
120121
fi
121122
fi

0 commit comments

Comments
 (0)