Auto-sync from catchthesethighs

This commit is contained in:
adlee-was-taken
2025-12-21 23:44:28 -05:00
parent 54e243feaa
commit f6b04bf47d
15 changed files with 4307 additions and 2305 deletions

View File

@@ -1,8 +1,8 @@
# ============================================================================
# Dotfiles Configuration
# Dotfiles Configuration (Arch/CachyOS)
# ============================================================================
# Fork this repo? Update the values below to match your setup.
# All scripts source this file for configuration.
# Edit this file to customize your dotfiles installation
# All settings are optional - defaults are sensible for Arch/CachyOS
# ============================================================================
# --- Version ---
@@ -18,76 +18,67 @@ DOTFILES_DIR="$HOME/.dotfiles"
DOTFILES_BACKUP_PREFIX="$HOME/.dotfiles_backup"
# --- User Identity ---
# Used by setup-espanso.sh and git config generation
# Leave blank to be prompted during setup, or pre-fill for automated installs
# Used by git config and vault
# Leave blank to be prompted during setup
USER_FULLNAME=""
USER_EMAIL=""
USER_PHONE=""
USER_WEBSITE=""
USER_GITHUB=""
# --- Git Configuration ---
# If blank, falls back to USER_FULLNAME/USER_EMAIL above
GIT_USER_NAME=""
GIT_USER_EMAIL=""
GIT_DEFAULT_BRANCH="master"
GIT_CREDENTIAL_HELPER="store" # "store", "cache", "osxkeychain", etc.
GIT_DEFAULT_BRANCH="main"
# --- Feature Toggles ---
# Set to "true", "false", or "ask" to control what gets installed
# Use "auto" to skip if already installed (default for deps)
INSTALL_DEPS="auto" # "auto" (skip if installed), "true", "false", or "ask"
INSTALL_ZSH_PLUGINS="true" # Auto-install zsh-autosuggestions & zsh-syntax-highlighting
INSTALL_ESPANSO="ask" # "true", "false", or "ask"
INSTALL_DEPS="auto"
INSTALL_ZSH_PLUGINS="true"
INSTALL_FZF="ask"
INSTALL_BAT="ask"
INSTALL_EZA="ask"
INSTALL_NEOVIM="ask"
SET_ZSH_DEFAULT="ask"
# --- Password Manager Integration ---
# Enables CLI plugins for password managers (requires respective CLI tools)
INSTALL_1PASSWORD="ask" # 1Password CLI (op) - https://1password.com/downloads/command-line/
INSTALL_LASTPASS="ask" # LastPass CLI (lpass) - https://github.com/lastpass/lastpass-cli
INSTALL_BITWARDEN="ask" # Bitwarden CLI (bw) - https://bitwarden.com/help/cli/
# --- MOTD (Message of the Day) ---
ENABLE_MOTD="true" # Show system info on shell start
ENABLE_MOTD="true"
MOTD_STYLE="compact"
# --- Theme Settings ---
ZSH_THEME_NAME="adlee"
THEME_TIMER_THRESHOLD=10 # Show elapsed time for commands longer than N seconds
THEME_PATH_TRUNCATE_LENGTH=32 # Truncate path display after N characters
THEME_TIMER_THRESHOLD=10
THEME_PATH_TRUNCATE_LENGTH=32
# --- Espanso Settings ---
ESPANSO_TRIGGER_PREFIX=".." # Prefix for all triggers (e.g., "..date")
# --- Advanced Features ---
ENABLE_SMART_SUGGESTIONS="true" # Typo correction
ENABLE_COMMAND_PALETTE="true" # Ctrl+Space launcher
ENABLE_SHELL_ANALYTICS="false" # Command usage stats
ENABLE_VAULT="true" # Encrypted secrets storage
DOTFILES_AUTO_SYNC_CHECK="true" # Check for updates on shell start
# --- Snapper Settings (CachyOS/Arch with btrfs) ---
# --- Snapper Settings (Arch/CachyOS only) ---
SNAPPER_CONFIG="root"
LIMINE_CONF="/boot/limine.conf"
# --- Advanced Features ---
ENABLE_SMART_SUGGESTIONS="true" # Typo correction and alias suggestions
ENABLE_COMMAND_PALETTE="true" # Ctrl+Space fuzzy launcher
ENABLE_SHELL_ANALYTICS="false" # Track command usage stats
ENABLE_VAULT="true" # Encrypted secrets storage
ENABLE_AUTO_SYNC="false" # Auto-sync dotfiles on shell start
DOTFILES_AUTO_SYNC_CHECK="true" # Check for updates on shell start
# --- Tmux Workspace Settings ---
TW_SESSION_PREFIX="work"
TW_DEFAULT_TEMPLATE="dev"
# --- Python Template Settings (optional) ---
PY_TEMPLATE_BASE_DIR="$HOME/projects"
PY_TEMPLATE_PYTHON="python3"
PY_TEMPLATE_VENV_NAME="venv"
PY_TEMPLATE_USE_POETRY="false"
PY_TEMPLATE_GIT_INIT="true"
# --- SSH Manager Settings (optional) ---
SSH_AUTO_TMUX="true"
SSH_TMUX_SESSION_PREFIX="ssh"
SSH_SYNC_DOTFILES="ask"
# ============================================================================
# Derived URLs (generally don't edit these)
# ============================================================================
DOTFILES_REPO_URL="https://github.com/${DOTFILES_GITHUB_USER}/${DOTFILES_REPO_NAME}.git"
DOTFILES_RAW_URL="https://raw.githubusercontent.com/${DOTFILES_GITHUB_USER}/${DOTFILES_REPO_NAME}/${DOTFILES_BRANCH}"
# ============================================================================
# Helper function to source this config from any script
# ============================================================================
# Add this to scripts that need config values:
#
# SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# DOTFILES_CONF="${SCRIPT_DIR}/dotfiles.conf"
# [[ -f "$DOTFILES_CONF" ]] || DOTFILES_CONF="${SCRIPT_DIR}/../dotfiles.conf"
# [[ -f "$DOTFILES_CONF" ]] || DOTFILES_CONF="$HOME/.dotfiles/dotfiles.conf"
# source "$DOTFILES_CONF" || { echo "Error: Cannot find dotfiles.conf"; exit 1; }
#
# ============================================================================