refactor to use scwrypts in setup; use scwrypts everywhere

This commit is contained in:
2022-08-16 18:42:57 -06:00
parent 6157bfe8f9
commit 2b4511739c
29 changed files with 425 additions and 560 deletions

27
config/dotwryn.env.vim Normal file
View File

@ -0,0 +1,27 @@
" -- RC Resources ----------------------------------------------- {{{
let $DOTWRYN=expand("$HOME/.wryn")
let $WRYNVIMPATH=expand("$DOTWRYN/vim")
let $WRYNVIMRC=expand("$WRYNVIMPATH/rc.vim")
let $BASHRC=expand("$HOME/.bashrc")
let $ZSHRC=expand("$HOME/.zshrc")
" }}}
" -- Leader bindings -------------------------------------------- {{{
let mapleader = "\\"
nmap <BS> <Nop>
let maplocalleader = "\<BS>"
" }}}
" -- Colorscheme Settings --------------------------------------- {{{
" favorites : tigrana-256-dark, codedark, lilydjwg_dark, up, skittles_autumn,
" ........... vice, lanox, nightsky, made_of_code, moss, skittles_berry, pf_earth
"
" customs : snow
let $COLORSCHEME="default"
" }}}
" -- Web Browser Settings --------------------------------------- {{{
" set the webbrowser locally
"let $WEBBROWSER=""
" }}}

78
config/dotwryn.env.zsh Normal file
View File

@ -0,0 +1,78 @@
#####################################################################
### Path References #################################################
#####################################################################
export DOTWRYN="$HOME/.wryn"
export SFX_PATH="$HOME/Media/sfx"
export WALLPAPER_PATH="$HOME/Pictures/bg"
export SOURCE_PACKAGES="$HOME/.local/share/source-packages"
#####################################################################
### Application Settings ############################################
#####################################################################
export PREFERRED_EDITOR=(vim vi)
# should play an audio file argument
MEDIA_ENGINE='canberra-gtk-play -f'
PLAY_SFX () { $DOTWRYN/bin/play-sound $@ >/dev/null 2>&1; }
RIPGREP_CONFIG_PATH="$HOME/.config/ripgrep/config"
TMUX_DEFAULT_SESSION_NAME='wryn'
WEBBROWSER='google-chrome-stable'
#I3__GLOBAL_FONT_SIZE=
#I3__DMENU_FONT_SIZE=
#I3__BORDER_PIXEL_SIZE=
DOTWRYN_AWS_PROFILE='yage'
DOTWRYN_AWS_REGION='us-east-2'
DOTWRYN_AWS_OUTPUT='json'
S3_SYNC_AWS_PROFILE=$DOTWRYN_AWS_PROFILE
S3_SYNC_BUCKET='yage'
S3_SYNC_MEDIA=(
#'.local/share/dolphin-emu'
#'Documents'
#'Games/roms'
#'Games/wrynscape'
'.porn'
'Documents'
'Media'
'Pictures'
)
PS1_BRANCH_SYMBOL=''
PS1_INDICATOR_SYMBOL='☕'
PS1_SEPARATOR='::'
PS1_USER='%n'
WELCOME () {
{ figlet 'Welcome, beautiful'; cowsay -p 'damn u sexy'; } | lolcat
}
#####################################################################
### External Plugins / Settings #####################################
#####################################################################
EXTERNAL_PLUGINS=(
'/usr/share/fzf/key-bindings.zsh'
'/usr/share/fzf/completion.zsh'
"$DOTWRYN/zsh/plugins/z/z.sh"
"$DOTWRYN/zsh/plugins/fzf-tab/fzf-tab.plugin.zsh"
"$DOTWRYN/zsh/plugins/code-activator/activator.plugin.zsh"
"$DOTWRYN/zsh/plugins/scwrypts/scwrypts.plugin.zsh"
"$DOTWRYN/zsh/plugins/ssh/ssh.plugin.zsh"
)
export SCWRYPTS_ENV='local'
FZF_DEFAULT_OPTS='--reverse'
FZF_DEFAULT_COMMAND='rg --files'
zstyle ':fzf-tab:*' accept-line enter
zstyle ':fzf-tab:*' fzf-bindings 'space:accept' ';:toggle'
zstyle ':fzf-tab:*' continuous-trigger '/'
LOAD_ZSH_UTILS() { source "$DOTWRYN/zsh/plugins/scwrypts/zsh/utils/utils.module.zsh"; }

View File

@ -0,0 +1,33 @@
#
# 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/config/../bin/i3/utils i3/utils
$DOTWRYN/config/../colorschemes/kitty.main kitty/theme.conf
$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/git.conf git/config
$DOTWRYN/config/i3.conf i3/config
$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/pylint.conf pylintrc
$DOTWRYN/config/ripgrep.conf ripgrep/config
$DOTWRYN/config/scwrypts.conf scwrypts/config
$DOTWRYN/config/scwrypts.dotfile.conf scwrypts/config.dotfile.zsh
$DOTWRYN/config/scwrypts.local.env scwrypts/env/local
$DOTWRYN/config/tmux.conf tmux/tmux.conf
$DOTWRYN/config/xcompose.conf X11/xcompose
$DOTWRYN/config/xconfig.conf X11/xconfig
$DOTWRYN/config/xinitrc X11/xinitrc
"

10
config/scwrypts.local.env Normal file
View File

@ -0,0 +1,10 @@
#!/bin/zsh
export AWS_ACCOUNT=088935110352
export AWS_PROFILE=yage
export AWS_REGION=us-east-2
export AWS__EFS__LOCAL_MOUNT_POINT=/mnt/efs/yage
export AWS__S3__MEDIA_BUCKET=
export AWS__S3__MEDIA_TARGETS=
export REDIS_AUTH=
export REDIS_HOST=
export REDIS_PORT=

View File

@ -0,0 +1,3 @@
screen-256color-italic|screen with 256 colors and italic,
sitm=\E[3m, ritm=\E[23m, kbs=\177,
smso=\E[7m, rmso=\E[27m, use=screen-256color,

View File

@ -0,0 +1,6 @@
tmux|tmux terminal multiplexer,
ritm=\E[23m, rmso=\E[27m, sitm=\E[3m, smso=\E[7m, Ms@,
use=xterm+tmux, use=screen,
tmux-256color|tmux with 256 colors,
use=xterm+256setaf, use=tmux,

View File

@ -0,0 +1,50 @@
# Reconstructed via infocmp from file: /usr/lib/kitty/terminfo/x/xterm-kitty
xterm-kitty|KovIdTTY,
am, ccc, hs, km, mc5i, mir, msgr, npc, xenl,
colors#0x100, cols#80, it#8, lines#24, pairs#0x7fff,
acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
bel=^G, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
clear=\E[H\E[2J, cnorm=\E[?12l\E[?25h, cr=\r,
csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
cud=\E[%p1%dB, cud1=\n, cuf=\E[%p1%dC, cuf1=\E[C,
cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
dl=\E[%p1%dM, dl1=\E[M, dsl=\E]2;\007, ech=\E[%p1%dX,
ed=\E[J, el=\E[K, el1=\E[1K, flash=\E[?5h$<100/>\E[?5l,
fsl=^G, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH,
ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\n,
indn=\E[%p1%dS,
initc=\E]4;%p1%d;rgb\:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\\,
kDC=\E[3;2~, kEND=\E[1;2F, kHOM=\E[1;2H, kIC=\E[2;2~,
kLFT=\E[1;2D, kNXT=\E[6;2~, kPRV=\E[5;2~, kRIT=\E[1;2C,
ka1=, ka3=, kbs=^?, kc1=, kc3=, kcbt=\E[Z, kcub1=\EOD,
kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, kend=\EOF,
kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
kf13=\E[1;2P, kf14=\E[1;2Q, kf15=\E[1;2R, kf16=\E[1;2S,
kf17=\E[15;2~, kf18=\E[17;2~, kf19=\E[18;2~, kf2=\EOQ,
kf20=\E[19;2~, kf21=\E[20;2~, kf22=\E[21;2~,
kf23=\E[23;2~, kf24=\E[24;2~, kf25=\E[1;5P, kf26=\E[1;5Q,
kf27=\E[1;5R, kf28=\E[1;5S, kf29=\E[15;5~, kf3=\EOR,
kf30=\E[17;5~, kf31=\E[18;5~, kf32=\E[19;5~,
kf33=\E[20;5~, kf34=\E[21;5~, kf35=\E[23;5~,
kf36=\E[24;5~, kf37=\E[1;6P, kf38=\E[1;6Q, kf39=\E[1;6R,
kf4=\EOS, kf40=\E[1;6S, kf41=\E[15;6~, kf42=\E[17;6~,
kf43=\E[18;6~, kf44=\E[19;6~, kf45=\E[20;6~,
kf46=\E[21;6~, kf47=\E[23;6~, kf48=\E[24;6~,
kf49=\E[1;3P, kf5=\E[15~, kf50=\E[1;3Q, kf51=\E[1;3R,
kf52=\E[1;3S, kf53=\E[15;3~, kf54=\E[17;3~,
kf55=\E[18;3~, kf56=\E[19;3~, kf57=\E[20;3~,
kf58=\E[21;3~, kf59=\E[23;3~, kf6=\E[17~, kf60=\E[24;3~,
kf61=\E[1;4P, kf62=\E[1;4Q, kf63=\E[1;4R, kf7=\E[18~,
kf8=\E[19~, kf9=\E[20~, khlp=, khome=\EOH, kich1=\E[2~,
kind=\E[1;2B, kmous=\E[M, knp=\E[6~, kpp=\E[5~,
kri=\E[1;2A, kund=, oc=\E]104\007, op=\E[39;49m, rc=\E8,
rev=\E[7m, ri=\EM, rin=\E[%p1%dT, ritm=\E[23m, rmacs=\E(B,
rmam=\E[?7l, rmcup=\E[?1049l, rmir=\E[4l, rmkx=\E[?1l,
rmso=\E[27m, rmul=\E[24m, rs1=\E]\E\\\Ec, sc=\E7,
setab=\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m,
setaf=\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m,
sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m,
sgr0=\E(B\E[m, sitm=\E[3m, smacs=\E(0, smam=\E[?7h,
smcup=\E[?1049h, smir=\E[4h, smkx=\E[?1h, smso=\E[7m,
smul=\E[4m, tbc=\E[3g, tsl=\E]2;, vpa=\E[%i%p1%dd,