mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-19 04:08:48 +00:00
terminals harmony pass into args
This commit is contained in:
parent
82bb1175bd
commit
5acbfac255
1 changed files with 10 additions and 0 deletions
|
|
@ -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[@]}" \
|
||||
|
|
|
|||
Loading…
Reference in a new issue