From 1c295ddaac5d976543a9fdff61c42346d1b2922e Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Wed, 11 Feb 2026 20:42:03 +0100 Subject: [PATCH] accent color preventing wall switch fix from main --- dots/.config/quickshell/ii/scripts/colors/switchwall.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dots/.config/quickshell/ii/scripts/colors/switchwall.sh b/dots/.config/quickshell/ii/scripts/colors/switchwall.sh index 430114d5b..1ae164d0c 100755 --- a/dots/.config/quickshell/ii/scripts/colors/switchwall.sh +++ b/dots/.config/quickshell/ii/scripts/colors/switchwall.sh @@ -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