Auto-sync from catchthesethighs

This commit is contained in:
adlee-was-taken
2025-12-20 22:53:20 -05:00
parent 7aa02c333e
commit 88ff7e6c6f
2 changed files with 7 additions and 2 deletions

View File

@@ -294,7 +294,7 @@ _deferred_load() {
DOTFILES_DIR="$HOME/.dotfiles"
DOTFILES_BRANCH="main"
fi
}
# ============================================================================
@@ -308,6 +308,11 @@ _background_tasks() {
local sync_script="$_dotfiles_dir/bin/dotfiles-sync.sh"
[[ -x "$sync_script" ]] && "$sync_script" --auto 2>/dev/null &!
fi
# Check number of available updates and export.
export UPDATE_PKG_COUNT=$(checkupdates | wc -l)
}
# ============================================================================

View File

@@ -16,7 +16,7 @@
# MOTD Width, adjust if needed.
# ============================================================================
_M_WIDTH=64
_M_WIDTH=66
# ============================================================================
# Colors (ANSI escape codes)