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

fix: fix ghostty config reload on nixos (#499)

This commit is contained in:
radicaltray
2025-10-19 23:35:28 +07:00
committed by GitHub
parent 5a32398446
commit 86a0fd409a

View File

@@ -259,7 +259,7 @@ EOF
cat "$CONFIG_DIR/ghostty/config-dankcolors" >> "$TMP" cat "$CONFIG_DIR/ghostty/config-dankcolors" >> "$TMP"
mv "$TMP" "$CONFIG_DIR/ghostty/config-dankcolors" mv "$TMP" "$CONFIG_DIR/ghostty/config-dankcolors"
if [[ -f "$CONFIG_DIR/ghostty/config" ]] && grep -q "^[^#]*config-dankcolors" "$CONFIG_DIR/ghostty/config" 2>/dev/null; then 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 pkill -USR2 -x 'ghostty|.ghostty-wrappe' >/dev/null 2>&1 || true
fi fi
fi fi
fi fi