[bin] Backup existing dotfiles to better one-shot

This commit is contained in:
2026-02-27 11:38:16 -05:00
parent 0d41bc9d71
commit 3be764e7ec
2 changed files with 6 additions and 1 deletions

View File

@ -113,6 +113,11 @@ elif [[ "$PLATFORM" == "macos" ]]; then
if have gmake; then MAKE_CMD="gmake"; fi
fi
log "Backing up existing files"
(cd ~ && mv .zshrc .zshrc.bak)
(cd ~ && mv .bashrc .bashrc.bak)
(cd ~ && mv .config/gtk-3.0 .config/gtk-3.0.bak)
log "Running $MAKE_CMD in dotfiles repo..."
(cd "$DOTFILES_DIR" && "$MAKE_CMD")

View File

@ -38,7 +38,7 @@ IMAP_PASS = os.environ.get("IMAP_PASS", "")
NTFY_BASE = os.environ.get("NTFY_BASE", "https://ntfy.unbl.ink")
NTFY_TOPIC = os.environ.get("NTFY_TOPIC", "hroot-notifications")
NTFY_ERROR_TOPIC = os.environ.get("NTFY_ERROR_TOPIC", "errors")
POLL_SECONDS = int(os.environ.get("POLL_SECONDS", "20"))
POLL_SECONDS = int(os.environ.get("POLL_SECONDS", "60"))
# Optional: if your ntfy needs auth
NTFY_USER = os.environ.get("NTFY_USER")