From 04b0ace387132f192e33be1f95bc019275118dde Mon Sep 17 00:00:00 2001 From: a Date: Mon, 28 Mar 2022 20:47:49 -0500 Subject: [PATCH] add xresources --- .Xresources | 93 +++++++++++++++++++++++++++++++++++++++++++++++++++++ .zshrc | 78 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 171 insertions(+) create mode 100644 .Xresources create mode 100644 .zshrc diff --git a/.Xresources b/.Xresources new file mode 100644 index 0000000..755e256 --- /dev/null +++ b/.Xresources @@ -0,0 +1,93 @@ +!*foreground: #D7D0C7 +!*background: #151515 +! +!!black +!! *color0: #AF875F +!! *color8: #AF875F +!*color0: #202020 +!*color8: #707070 +!!red +!*color1: #E84F4F +!*color9: #D23D3D +!!green +!*color2: #B8D68C +!*color10: #A0CF5D +!!yellow +!*color3: #E1AA5D +!*color11: #F39D21 +!!blue +!*color4: #7DC1CF +!*color12: #4E9FB1 +!!magenta +!*color5: #9B64FB +!*color13: #8542FF +!!cyan +!*color6: #6D878D +!*color14: #42717B +!!white +!*color7: #dddddd +!*color15: #dddddd + +! special +*.foreground: #e5dae5 +*.background: #151515 +*.cursorColor: #d7d0c7 + +! black +*.color0: #202020 +*.color8: #735264 + +! red +*.color1: #e84f4f +*.color9: #d43131 + +! green +*.color2: #b8d68c +*.color10: #578d3b + +! yellow +*.color3: #e2a959 +*.color11: #f39713 + +! blue +*.color4: #7dc1cf +*.color12: #4e9fb1 + +! magenta +*.color5: #9b64fb +*.color13: #7c1ede + +! cyan +*.color6: #6d878d +*.color14: #42717b + +! white +*.color7: #dddddd +*.color15: #dddddd + +URxvt*depth: 32 +URxvt*internalBorder: 4 +URxvt*dynamicColors: on +URxvt*urgentOnBell: true +URxvt*borderLess: false +URxvt*scrollBar: false +URxvt*cursorBlink: true +URxvt*cursorUnderline: true +URxvt*cursorColor: #ffffff +URxvt*scrollColor: #151515 +URxvt*underlineURLs: true +URxvt.iso14755: false + +URxvt*letterSpace: 0 + +URxvt*font: xft:TamzenForPowerline:size=12:style=regular +URxvt*boldFont: xft:TamzenForPowerline:size=12:style=bold + +rofi.lines: 11 +rofi.color-enabled: true +rofi.separator-style: solid +rofi.width: 41 +rofi.color-normal: #141415,#ff6fa2,#141414,#141414,#a7a7a7 +rofi.color-active: #141415,#e4dfb8,#141414,#e4dfb8,#a7a7a7 +rofi.color-urgent: #141415,#7cdcd9,#141414,#7cdcd9,#a7a7a7 +rofi.color-window: #141415,#ff6fa2,#1e2529 diff --git a/.zshrc b/.zshrc new file mode 100644 index 0000000..f48585c --- /dev/null +++ b/.zshrc @@ -0,0 +1,78 @@ +autoload -Uz compinit && compinit +export PATH=$HOME/.local/bin:$PATH +export LC_CTYPE=en_US.UTF-8 +export ZSH="~a/.oh-my-zsh" + +export KUBECONFIG=$(find ~/.kube/configs -type f -printf '%p:') +export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH" +ZSH_THEME="norm" +export TERM=screen-256color + +plugins=( + git + bundler + dotenv + rake + kubectl +) + +alias kx="kubectx" +alias kn="kubens" + +HYPHEN_INSENSITIVE="true" + +export LANG=en_US.UTF-8 +export EDITOR='nvim' + + +. $HOME/.local/asdf/asdf.sh + +export PNPM_HOME="~/.local/share/pnpm" +export PATH="$PNPM_HOME:$PATH" + +source <(kubectl completion zsh) +source <(kubectl krew completion zsh) + +[ -f ~/.kubectl_aliases ] && source ~/.kubectl_aliases + +source ~/.local/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh +source $ZSH/oh-my-zsh.sh + + + +export HELM_EXPERIMENTAL_OCI=1 +export DOCKER_BUILDKIT=1 + +### Added by Zinit's installer +if [[ ! -f $HOME/.local/share/zinit/zinit.git/zinit.zsh ]]; then + print -P "%F{33} %F{220}Installing %F{33}ZDHARMA-CONTINUUM%F{220} Initiative Plugin Manager (%F{33}zdharma-continuum/zinit%F{220})…%f" + command mkdir -p "$HOME/.local/share/zinit" && command chmod g-rwX "$HOME/.local/share/zinit" + command git clone https://github.com/zdharma-continuum/zinit "$HOME/.local/share/zinit/zinit.git" && \ + print -P "%F{33} %F{34}Installation successful.%f%b" || \ + print -P "%F{160} The clone has failed.%f%b" +fi + +source "$HOME/.local/share/zinit/zinit.git/zinit.zsh" +autoload -Uz _zinit +(( ${+_comps} )) && _comps[zinit]=_zinit + +# Load a few important annexes, without Turbo +# (this is currently required for annexes) +zinit light-mode for \ + zdharma-continuum/zinit-annex-as-monitor \ + zdharma-continuum/zinit-annex-bin-gem-node \ + zdharma-continuum/zinit-annex-patch-dl \ + zdharma-continuum/zinit-annex-rust + +### End of Zinit's installer chunk + +# vault +export GPG_TTY=$(tty) +export VAULT_ADDR=https://vault.gfx.xyz + + +zinit light jonmosco/kube-ps1 +PROMPT='$(kube_ps1)'$PROMPT + +alias ls="exa" +alias sl="exa -lh"