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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user