From 82bb1175bdbeb1451d7d07b853dd8f574a2c00b4 Mon Sep 17 00:00:00 2001 From: Souyama Date: Sun, 31 Aug 2025 19:57:49 +0530 Subject: [PATCH 1/3] customize terminals harmony --- .config/quickshell/ii/modules/common/Config.qml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.config/quickshell/ii/modules/common/Config.qml b/.config/quickshell/ii/modules/common/Config.qml index 2677f857..2bc969c7 100644 --- a/.config/quickshell/ii/modules/common/Config.qml +++ b/.config/quickshell/ii/modules/common/Config.qml @@ -91,6 +91,11 @@ Singleton { property bool enableAppsAndShell: true property bool enableQtApps: true property bool enableTerminal: true + property JsonObject generationProps: JsonObject { + property real harmony: 0.5 + property real harmonizeThreshold: 100 + property real termFgBoost: 0.35 + } } property JsonObject palette: JsonObject { property string type: "auto" // Allowed: auto, scheme-content, scheme-expressive, scheme-fidelity, scheme-fruit-salad, scheme-monochrome, scheme-neutral, scheme-rainbow, scheme-tonal-spot From 5acbfac255dcbb5de5eab9b6f7274f8b2e46bec2 Mon Sep 17 00:00:00 2001 From: Souyama Date: Sun, 31 Aug 2025 19:59:52 +0530 Subject: [PATCH 2/3] terminals harmony pass into args --- .config/quickshell/ii/scripts/colors/switchwall.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.config/quickshell/ii/scripts/colors/switchwall.sh b/.config/quickshell/ii/scripts/colors/switchwall.sh index 31db37b4..805a3af3 100755 --- a/.config/quickshell/ii/scripts/colors/switchwall.sh +++ b/.config/quickshell/ii/scripts/colors/switchwall.sh @@ -280,6 +280,16 @@ switch() { fi fi + # Set harmony and related properties + if [ -f "$SHELL_CONFIG_FILE" ]; then + harmony=$(jq -r '.appearance.wallpaperTheming.generationProps.harmony' "$SHELL_CONFIG_FILE") + harmonize_threshold=$(jq -r '.appearance.wallpaperTheming.generationProps.harmonizeThreshold' "$SHELL_CONFIG_FILE") + term_fg_boost=$(jq -r '.appearance.wallpaperTheming.generationProps.termFgBoost' "$SHELL_CONFIG_FILE") + [[ "$harmony" != "null" && -n "$harmony" ]] && generate_colors_material_args+=(--harmony "$harmony") + [[ "$harmonize_threshold" != "null" && -n "$harmonize_threshold" ]] && generate_colors_material_args+=(--harmonize_threshold "$harmonize_threshold") + [[ "$term_fg_boost" != "null" && -n "$term_fg_boost" ]] && generate_colors_material_args+=(--term_fg_boost "$term_fg_boost") + fi + matugen "${matugen_args[@]}" source "$(eval echo $ILLOGICAL_IMPULSE_VIRTUAL_ENV)/bin/activate" python3 "$SCRIPT_DIR/generate_colors_material.py" "${generate_colors_material_args[@]}" \ From c39507747b91208247a13757d8e679e60c7bb514 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sat, 6 Sep 2025 10:38:15 +0200 Subject: [PATCH 3/3] rename generationProps -> terminalGenerationProps, change default harmony to match script --- .config/quickshell/ii/modules/common/Config.qml | 4 ++-- .config/quickshell/ii/scripts/colors/switchwall.sh | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.config/quickshell/ii/modules/common/Config.qml b/.config/quickshell/ii/modules/common/Config.qml index 2bc969c7..e0ee2a3b 100644 --- a/.config/quickshell/ii/modules/common/Config.qml +++ b/.config/quickshell/ii/modules/common/Config.qml @@ -91,8 +91,8 @@ Singleton { property bool enableAppsAndShell: true property bool enableQtApps: true property bool enableTerminal: true - property JsonObject generationProps: JsonObject { - property real harmony: 0.5 + property JsonObject terminalGenerationProps: JsonObject { + property real harmony: 0.8 property real harmonizeThreshold: 100 property real termFgBoost: 0.35 } diff --git a/.config/quickshell/ii/scripts/colors/switchwall.sh b/.config/quickshell/ii/scripts/colors/switchwall.sh index 805a3af3..229d8995 100755 --- a/.config/quickshell/ii/scripts/colors/switchwall.sh +++ b/.config/quickshell/ii/scripts/colors/switchwall.sh @@ -282,9 +282,9 @@ switch() { # Set harmony and related properties if [ -f "$SHELL_CONFIG_FILE" ]; then - harmony=$(jq -r '.appearance.wallpaperTheming.generationProps.harmony' "$SHELL_CONFIG_FILE") - harmonize_threshold=$(jq -r '.appearance.wallpaperTheming.generationProps.harmonizeThreshold' "$SHELL_CONFIG_FILE") - term_fg_boost=$(jq -r '.appearance.wallpaperTheming.generationProps.termFgBoost' "$SHELL_CONFIG_FILE") + harmony=$(jq -r '.appearance.wallpaperTheming.terminalGenerationProps.harmony' "$SHELL_CONFIG_FILE") + harmonize_threshold=$(jq -r '.appearance.wallpaperTheming.terminalGenerationProps.harmonizeThreshold' "$SHELL_CONFIG_FILE") + term_fg_boost=$(jq -r '.appearance.wallpaperTheming.terminalGenerationProps.termFgBoost' "$SHELL_CONFIG_FILE") [[ "$harmony" != "null" && -n "$harmony" ]] && generate_colors_material_args+=(--harmony "$harmony") [[ "$harmonize_threshold" != "null" && -n "$harmonize_threshold" ]] && generate_colors_material_args+=(--harmonize_threshold "$harmonize_threshold") [[ "$term_fg_boost" != "null" && -n "$term_fg_boost" ]] && generate_colors_material_args+=(--term_fg_boost "$term_fg_boost")