- template theme selection in alacritty, btop, fuzzel, ghostty, waybar, swaync, wezterm, zathura, gemini, zsh, and nvim astroui - add apex-aeon assets and refresh apex-neon palettes across terminals, editors, and UI components - switch UI fonts to GeistMono in GTK/Qt, Hyprland/Hyprlock, Kitty, Zed, and Satty - add refresh-apex-themes helper to sync theme outputs
32 lines
1000 B
Cheetah
32 lines
1000 B
Cheetah
# Load personal aliases
|
|
if [[ -f "${HOME}/.config/zsh/aliases.zsh" ]]; then
|
|
source "${HOME}/.config/zsh/aliases.zsh"
|
|
fi
|
|
|
|
# Variables for ZIM
|
|
ZIM_CONFIG_FILE=${ZDOTDIR}/.zimrc
|
|
ZIM_HOME=${ZDOTDIR}/zim
|
|
|
|
# Download zimfw plugin manager if missing.
|
|
if [[ ! -e ${ZIM_HOME}/zimfw.zsh ]]; then
|
|
curl -fsSL --create-dirs -o ${ZIM_HOME}/zimfw.zsh \
|
|
https://github.com/zimfw/zimfw/releases/latest/download/zimfw.zsh
|
|
fi
|
|
|
|
# Install missing modules and update ${ZIM_HOME}/init.zsh if missing or outdated.
|
|
if [[ ! ${ZIM_HOME}/init.zsh -nt ${ZIM_CONFIG_FILE:-${ZDOTDIR:-${HOME}}/.zimrc} ]]; then
|
|
source ${ZIM_HOME}/zimfw.zsh init
|
|
fi
|
|
|
|
# Initialize modules.
|
|
source ${ZIM_HOME}/init.zsh
|
|
|
|
# Bind keys for history-substring-search-up
|
|
bindkey "^[OA" history-substring-search-up
|
|
bindkey "^[OB" history-substring-search-down
|
|
bindkey -M vicmd 'k' history-substring-search-up
|
|
bindkey -M vicmd 'j' history-substring-search-down
|
|
|
|
# Initialize Apex Neon Theme
|
|
source ~/.config/zsh/{{ .chezmoi.config.data.theme }}.zsh
|