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

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

No files matched your search

+3 -1
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