BIG REFACTOR; PLEASE BE ADVISED

finally going to commit that zshrc refactor

- smolvsdefault on altaria
- i3-utils refactor
- no need for custom scwrypt executable anymore
- time to say goodbye to the old dotwryn.env in favor of the new and improved rc.ds
- vim/rc.d refactor + QuickREPL and QuickCommand replacements for \r and \t
- going to stop tracking Archives explicitly until new hard drive
- tty-colorscheme is now referenced directly
- colorscheme/spring-sunset needed to swap primary/secondary colors for focus in i3 since it was confusing
- setup config no longer needs to create ~/.config/wryn/env.vim; added some dependencies to arch-linux
- switch from dmenu to rofi by default; allow .i3 overrides in colorschemes; tty-colorscheme is now referenced directly
This commit is contained in:
2024-05-07 16:38:40 -06:00
parent 466d4ec77d
commit ad66d50b11
64 changed files with 727 additions and 437 deletions

View File

@ -1,72 +1,21 @@
#####################################################################
### Path References #################################################
### default .wryn configuration settings ############################
#####################################################################
# installation path for this repository
export DOTWRYN="$HOME/.wryn"
export SOURCE_PACKAGES="$HOME/.local/share/source-packages"
RELOAD_ZSH_UTILS() {
local SCWRYPTS_ROOT="$(scwrypts --root 2>/dev/null)"
: \
&& [ $SCWRYPTS_ROOT ] \
&& [ -d "$SCWRYPTS_ROOT" ] \
&& source "$(scwrypts --root)/zsh/lib/utils/utils.module.zsh" \
&& export DOTWRYN_UTILS_LOADED=1 \
;
}
[ $DOTWRYN_UTILS_LOADED ] || RELOAD_ZSH_UTILS
#####################################################################
### Application Settings ############################################
#####################################################################
export PREFERRED_EDITOR=(vim vi)
RIPGREP_CONFIG_PATH="$HOME/.config/ripgrep/config"
# order of editor preference
export PREFERRED_EDITORS=(vim vi nano)
# prompt generator settings
PS1_BRANCH_SYMBOL=''
PS1_INDICATOR_SYMBOL='☕'
PS1_SEPARATOR='::'
PS1_USER='%m'
# run at each zsh login
WELCOME () {
[[ $TERM =~ tmux ]] && return 0
{ figlet 'Welcome, beautiful'; cowsay -p 'damn u sexy'; } | lolcat
}
#####################################################################
### External Plugins / Settings #####################################
#####################################################################
# fzf
EXTERNAL_PLUGINS+=(
'/usr/share/fzf/key-bindings.zsh'
'/usr/share/fzf/completion.zsh'
)
export FZF_DEFAULT_OPTS='--reverse --ansi --height 50% --bind=ctrl-c:cancel'
export FZF_DEFAULT_COMMAND='rg --files'
# fzf-tab
EXTERNAL_PLUGINS+=("$DOTWRYN/zsh/plugins/fzf-tab/fzf-tab.plugin.zsh")
zstyle ':fzf-tab:*' accept-line enter
zstyle ':fzf-tab:*' fzf-bindings 'space:accept' ';:toggle'
zstyle ':fzf-tab:*' continuous-trigger '/'
# scwrypts
EXTERNAL_PLUGINS+=("$(scwrypts --root 2>/dev/null)/scwrypts.plugin.zsh")
for e in \
"local.$(hostnamectl --static).secret" \
"local.$(hostnamectl --static)" \
"local"
do export SCWRYPTS_ENV="$e"; [ -f "$HOME/.config/scwrypts/environments/scwrypts/$e" ] && break; done
# z
EXTERNAL_PLUGINS+=("$DOTWRYN/zsh/plugins/z/z.sh")
# code-activator
EXTERNAL_PLUGINS+=("$DOTWRYN/zsh/plugins/code-activator/activator.plugin.zsh")
# ssh
EXTERNAL_PLUGINS+=("$DOTWRYN/zsh/plugins/ssh/ssh.plugin.zsh")