From 585a7b0f06a0618a0f917d42c497894fd80a67ad Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Mon, 16 Feb 2026 09:42:36 +0100 Subject: [PATCH 1/3] fix wallpaper script blocked by matugen interaction https://github.com/InioX/matugen/issues/255 --- dots/.config/quickshell/ii/scripts/colors/switchwall.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dots/.config/quickshell/ii/scripts/colors/switchwall.sh b/dots/.config/quickshell/ii/scripts/colors/switchwall.sh index 1ae164d0c..f75d6ad8a 100755 --- a/dots/.config/quickshell/ii/scripts/colors/switchwall.sh +++ b/dots/.config/quickshell/ii/scripts/colors/switchwall.sh @@ -175,8 +175,10 @@ switch() { cursorposy=$(bc <<< "scale=0; ($cursorposy - $screeny) * $scale / 1") cursorposy_inverted=$((screensizey - cursorposy)) + matugen_args=(--source-color-index 0) + if [[ "$color_flag" == "1" ]]; then - matugen_args=(color hex "$color") + matugen_args+=(color hex "$color") generate_colors_material_args=(--color "$color") else if [[ -z "$imgpath" ]]; then @@ -234,7 +236,7 @@ switch() { set_thumbnail_path "$thumbnail" if [ -f "$thumbnail" ]; then - matugen_args=(image "$thumbnail") + matugen_args+=(image "$thumbnail") generate_colors_material_args=(--path "$thumbnail") create_restore_script "$video_path" else @@ -243,7 +245,7 @@ switch() { exit 1 fi else - matugen_args=(image "$imgpath") + matugen_args+=(image "$imgpath") generate_colors_material_args=(--path "$imgpath") # Update wallpaper path in config set_wallpaper_path "$imgpath" From a7f30838ded24d845d60a77cd8b5251c6edd3d74 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Mon, 16 Feb 2026 09:44:26 +0100 Subject: [PATCH 2/3] Update shapes --- dots/.config/quickshell/ii/modules/common/widgets/shapes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dots/.config/quickshell/ii/modules/common/widgets/shapes b/dots/.config/quickshell/ii/modules/common/widgets/shapes index b62e4482a..e31ec4cb4 160000 --- a/dots/.config/quickshell/ii/modules/common/widgets/shapes +++ b/dots/.config/quickshell/ii/modules/common/widgets/shapes @@ -1 +1 @@ -Subproject commit b62e4482af56722840dd4b86c4dab41d5c9f2dda +Subproject commit e31ec4cb4ebf6a46b267f5c42eabf6874916fa16 From c063bdfe86e68ebe570514226e7aa6ca7821e74a Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Tue, 17 Feb 2026 23:01:25 +0100 Subject: [PATCH 3/3] revert updated matugen interaction for now This reverts commit 585a7b0f06a0618a0f917d42c497894fd80a67ad. --- dots/.config/quickshell/ii/scripts/colors/switchwall.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/dots/.config/quickshell/ii/scripts/colors/switchwall.sh b/dots/.config/quickshell/ii/scripts/colors/switchwall.sh index f75d6ad8a..1ae164d0c 100755 --- a/dots/.config/quickshell/ii/scripts/colors/switchwall.sh +++ b/dots/.config/quickshell/ii/scripts/colors/switchwall.sh @@ -175,10 +175,8 @@ switch() { cursorposy=$(bc <<< "scale=0; ($cursorposy - $screeny) * $scale / 1") cursorposy_inverted=$((screensizey - cursorposy)) - matugen_args=(--source-color-index 0) - if [[ "$color_flag" == "1" ]]; then - matugen_args+=(color hex "$color") + matugen_args=(color hex "$color") generate_colors_material_args=(--color "$color") else if [[ -z "$imgpath" ]]; then @@ -236,7 +234,7 @@ switch() { set_thumbnail_path "$thumbnail" if [ -f "$thumbnail" ]; then - matugen_args+=(image "$thumbnail") + matugen_args=(image "$thumbnail") generate_colors_material_args=(--path "$thumbnail") create_restore_script "$video_path" else @@ -245,7 +243,7 @@ switch() { exit 1 fi else - matugen_args+=(image "$imgpath") + matugen_args=(image "$imgpath") generate_colors_material_args=(--path "$imgpath") # Update wallpaper path in config set_wallpaper_path "$imgpath"