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

@@ -7,7 +7,7 @@ STATE_DIR="$HOME/.config/home-manager"
THEME_STATE_FILE="$STATE_DIR/theme-state.nix"
WALLPAPER_STATE_FILE="$STATE_DIR/wallpaper-state.nix"
THEME_NAME=$(cat "$THEME_STATE_FILE" 2>/dev/null || echo "dracula")
THEME_NAME=$(cat "$THEME_STATE_FILE" 2>/dev/null || echo "nord")
if [ -d "/etc/nixos/nomarchy/themes" ]; then
THEMES_DIR="/etc/nixos/nomarchy/themes"