forked from Shinonome/dots-hyprland
rename generationProps -> terminalGenerationProps, change default harmony to match script
This commit is contained in:
@@ -91,8 +91,8 @@ Singleton {
|
|||||||
property bool enableAppsAndShell: true
|
property bool enableAppsAndShell: true
|
||||||
property bool enableQtApps: true
|
property bool enableQtApps: true
|
||||||
property bool enableTerminal: true
|
property bool enableTerminal: true
|
||||||
property JsonObject generationProps: JsonObject {
|
property JsonObject terminalGenerationProps: JsonObject {
|
||||||
property real harmony: 0.5
|
property real harmony: 0.8
|
||||||
property real harmonizeThreshold: 100
|
property real harmonizeThreshold: 100
|
||||||
property real termFgBoost: 0.35
|
property real termFgBoost: 0.35
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -282,9 +282,9 @@ switch() {
|
|||||||
|
|
||||||
# Set harmony and related properties
|
# Set harmony and related properties
|
||||||
if [ -f "$SHELL_CONFIG_FILE" ]; then
|
if [ -f "$SHELL_CONFIG_FILE" ]; then
|
||||||
harmony=$(jq -r '.appearance.wallpaperTheming.generationProps.harmony' "$SHELL_CONFIG_FILE")
|
harmony=$(jq -r '.appearance.wallpaperTheming.terminalGenerationProps.harmony' "$SHELL_CONFIG_FILE")
|
||||||
harmonize_threshold=$(jq -r '.appearance.wallpaperTheming.generationProps.harmonizeThreshold' "$SHELL_CONFIG_FILE")
|
harmonize_threshold=$(jq -r '.appearance.wallpaperTheming.terminalGenerationProps.harmonizeThreshold' "$SHELL_CONFIG_FILE")
|
||||||
term_fg_boost=$(jq -r '.appearance.wallpaperTheming.generationProps.termFgBoost' "$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")
|
[[ "$harmony" != "null" && -n "$harmony" ]] && generate_colors_material_args+=(--harmony "$harmony")
|
||||||
[[ "$harmonize_threshold" != "null" && -n "$harmonize_threshold" ]] && generate_colors_material_args+=(--harmonize_threshold "$harmonize_threshold")
|
[[ "$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")
|
[[ "$term_fg_boost" != "null" && -n "$term_fg_boost" ]] && generate_colors_material_args+=(--term_fg_boost "$term_fg_boost")
|
||||||
|
|||||||
Reference in New Issue
Block a user