feat(scripts): add nomarchy-sync and improve theme scripts

- Create nomarchy-sync for backing up declarative config and dynamic state
- Update theme scripts with improved IPC feedback (swww img transition)
This commit is contained in:
Bernardo Magri
2026-04-03 21:07:15 +01:00
parent 90e1a21701
commit 2821d30858
3 changed files with 94 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ fi
mkdir -p "$STATE_DIR"
if [ ! -d "$THEMES_DIR/$THEME_NAME" ] && ! [[ "$THEME_NAME" == "dracula" || "$THEME_NAME" == "nord" ]]; then
if [ ! -d "$THEMES_DIR/$THEME_NAME" ] && ! [[ "$THEME_NAME" == "nord" ]]; then
echo "Theme '$THEME_NAME' not found in $THEMES_DIR"
# Check if it exists in the palettes file
# (Assuming nomarchy-palettes.nix is imported in Nix)