accent color preventing wall switch fix from main

This commit is contained in:
end-4
2026-02-11 20:42:03 +01:00
parent 7ba30cee4a
commit 1c295ddaac
@@ -406,6 +406,12 @@ main() {
imgpath="$(kdialog --getopenfilename . --title 'Choose wallpaper')"
fi
if [[ -n "$imgpath" && -z "$noswitch_flag" ]]; then
set_accent_color ""
color_flag=""
color=""
fi
# If type_flag is 'auto', detect scheme type from image (after imgpath is set)
if [[ "$type_flag" == "auto" ]]; then
if [[ -n "$imgpath" && -f "$imgpath" ]]; then