1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 05:25:41 -05:00

disable matugen env var support, also dont reload ghostty if not

configured with dms theme
This commit is contained in:
bbedward
2025-09-24 17:09:15 -04:00
parent 3f8d8ca379
commit 9be7d44765
3 changed files with 12 additions and 12 deletions

View File

@@ -181,7 +181,9 @@ build_once() {
printf "%s\n\n" "$OUT" > "$TMP"
cat "$CONFIG_DIR/ghostty/config-dankcolors" >> "$TMP"
mv "$TMP" "$CONFIG_DIR/ghostty/config-dankcolors"
pkill -USR2 -x ghostty >/dev/null 2>&1 || true
if [[ -f "$CONFIG_DIR/ghostty/config" ]] && grep -q "^[^#]*config-dankcolors" "$CONFIG_DIR/ghostty/config" 2>/dev/null; then
pkill -USR2 -x ghostty >/dev/null 2>&1 || true
fi
fi
fi