the GREAT CONFIG MIGRATION; (scwrypts v5 and some neat new config stuffs)

This commit is contained in:
2025-02-19 21:56:37 -07:00
parent 623828461e
commit 1b70e44700
114 changed files with 330 additions and 328 deletions

View File

@@ -3,19 +3,14 @@
#
SCWRYPTS_SHORTCUT='' # CTRL + W
SCWRYPTS_ENV_SHORTCUT='' # CTRL + /
SCWRYPTS_ENVIRONMENT__SHOW_ENV_HELP=false
SCWRYPTS_ENVIRONMENT__PREFERRED_EDIT_MODE=quiet
#SCWRYPTS_ENVIRONMENT__SHOW_ENV_HELP=false
#SCWRYPTS_ENVIRONMENT__PREFERRED_EDIT_MODE=quiet
for SEARCH_DIR in \
"$DOTWRYN/scwrypts" \
"$HOME/Projects/yage/" \
;
do
[ -d "$SEARCH_DIR" ] || continue
for G in "$SEARCH_DIR/"**/*.scwrypts.zsh; do . "$G"; done
done
SCWRYPTS_GENERATOR__SHOW_HELP=false
[ -f "$HOME/.config/scwrypts/config.local.zsh" ] \
&& source "$HOME/.config/scwrypts/config.local.zsh"
[ ${DOTWRYN} ] || source "${HOME}/.zshrc"
SCWRYPTS_GROUP_DIRS+=("${DOTWRYN}/scwrypts")
[ -f "${XDG_CONFIG_HOME:-${HOME}/.config}/scwrypts/config.local.zsh" ] \
&& source "${XDG_CONFIG_HOME:-${HOME}/.config}/scwrypts/config.local.zsh"

View File

@@ -1,60 +0,0 @@
#
# scwrypts dot-files config
#
TERMINFO_PATH="$DOTWRYN/config/terminfo"
SAFE_SYMLINKS=0
# lines which begin with '#' are ignored
SYMLINKS="
# --------------------------------------------------------------------------
# fully qualified path ~/.config/THE-REST
# --------------------------------------------------------------------------
$DOTWRYN/bin/i3-utils i3/utils
$DOTWRYN/colorschemes/active/kitty.conf kitty/theme.conf
$DOTWRYN/colorschemes/active/alacritty.toml alacritty/theme.toml
$DOTWRYN/colorschemes/active/alacritty.yaml alacritty/theme.yml
$DOTWRYN/config/alacritty.toml alacritty/alacritty.toml
$DOTWRYN/config/alacritty.default.toml alacritty/default.toml
$DOTWRYN/config/alacritty.yaml alacritty/alacritty.yml
$DOTWRYN/config/bat.conf bat/config
$DOTWRYN/config/code-activator.conf code-activator-zsh/settings.zsh
$DOTWRYN/config/compton.conf compton/compton.conf
$DOTWRYN/config/flameshot.ini flameshot/flameshot.ini
$DOTWRYN/config/git.conf git/config
$DOTWRYN/config/htop.conf htop/htoprc
$DOTWRYN/config/i3status.conf i3status/config
$DOTWRYN/config/kitty.conf kitty/kitty.conf
$DOTWRYN/config/mssqlcli.conf mssqlci/config
$DOTWRYN/config/pgcli.conf pgcli/config
$DOTWRYN/config/polybar.ini polybar/config.ini
$DOTWRYN/config/pylint.conf pylintrc
$DOTWRYN/config/ripgrep.conf ripgrep/config
$DOTWRYN/config/scwrypts/config.zsh scwrypts/config.zsh
$DOTWRYN/config/scwrypts/dotfiles.zsh scwrypts/dotfiles.zsh
$DOTWRYN/config/scwrypts/vundle.zsh scwrypts/vundle.zsh
$DOTWRYN/config/tmux.conf tmux/tmux.conf
$DOTWRYN/config/xcompose.conf X11/xcompose
$DOTWRYN/config/xconfig.conf X11/xconfig
$DOTWRYN/config/xinitrc.i3 ../.xinitrc
$DOTWRYN/config/xinitrc.i3 X11/xinitrc
$DOTWRYN/bin/vim ../.local/bin/vim
$DOTWRYN/bin/$(hostnamectl --static) ../.$(hostnamectl --static)
$( () {
local SOURCE_CONTROLLED_GROUPS=(dotwryn remote scwrypts)
local GROUP_MATCH_STRING="\\($(printf '\|%s' ${SOURCE_CONTROLLED_GROUPS[@]} | sed 's/^\\|//')\\)"
local _LOCAL='scwrypts/environments'
local _DOTWRYN="$DOTWRYN/config/scwrypts/environments"
find "$HOME/.config/$_LOCAL" -mindepth 1 -maxdepth 1 -name \*.env.yaml \
| sed -n "s^.*/\(local\(\.[^.]\+\)\{0,\}\.$GROUP_MATCH_STRING.env.yaml\)$$_DOTWRYN/\1^$_LOCAL/\1p" \
| grep -v '\.secret\.' \
| sort --unique \
| column -ts '^' \
;
} )
"
true

View File

@@ -1,2 +1,4 @@
--- # local.altaria > dotwryn
# no configuration set
--- # local.pikachu > dotwryn
desktop:
backlight-device:
value: amdgpu_bl1

View File

@@ -1,2 +1,2 @@
--- # local.altaria > remote
--- # local.pikachu > remote
# no configuration set

View File

@@ -1,10 +1,2 @@
--- # local.altaria > scwrypts
media-sync:
targets:
value:
- Pictures
- Documents
- Media
- .local/.porn
- Games/roms
- .local/share/dolphin-emu
--- # local.pikachu > scwrypts
# no configuration set

View File

@@ -2,44 +2,7 @@
# Scwrypts Build Definitions
#
VUNDLE__BUILD__ale() {
# ... build steps from /home/w0ryn/.vim/ale
}
VUNDLE__BUILD__nerdtree() {
# ... build steps from /home/w0ryn/.vim/nerdtree
}
VUNDLE__BUILD__unicode.vim() {
# ... build steps from /home/w0ryn/.vim/unicode.vim
}
VUNDLE__BUILD__vim-dim() {
# ... build steps from /home/w0ryn/.vim/vim-dim
}
VUNDLE__BUILD__vim-fugitive() {
# ... build steps from /home/w0ryn/.vim/vim-fugitive
}
VUNDLE__BUILD__vim-go() {
# ... build steps from /home/w0ryn/.vim/vim-go
}
VUNDLE__BUILD__vim-surround() {
# ... build steps from /home/w0ryn/.vim/vim-surround
}
VUNDLE__BUILD__vim-hexokinase() {
# ... build steps from /home/w0ryn/.vim/vim-hexokinase
make hexokinase
}
VUNDLE__BUILD__youcompleteme() {
# ... build steps from /home/w0ryn/.vim/youcompleteme
./install.py --all
}
VUNDLE__BUILD__rust.vim() {
# ... build steps from /home/w0ryn/.vim/rust.vim
}