New setup — due for review after you run darwin-rebuild switch and live with it for a few days. See CLAUDE.md (Alacritty) and assets/alacritty/README.md. - HM: import active-colors.toml + Catppuccin latte/mocha fragments - nix-darwin: launchd.user.agents.alacritty-system-theme + PATH helper - fish: background sync on Darwin; theme.sh no longer rebuilds for Alacritty - Remove switch-alacritty-theme.sh (sed + darwin-rebuild per toggle) Made-with: Cursor
9 lines
439 B
Bash
Executable file
9 lines
439 B
Bash
Executable file
#!/bin/bash
|
|
# One-shot sync of Alacritty palette + nvim marker from current macOS appearance.
|
|
set -e
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
echo "Syncing from system appearance..."
|
|
"$SCRIPT_DIR/alacritty-sync-system-theme.sh"
|
|
echo ""
|
|
echo "Done. Alacritty reloads colors automatically if live_config_reload is enabled."
|
|
echo "A LaunchAgent (nix-darwin: launchd.user.agents.alacritty-system-theme) runs this every 30s."
|