update files

This commit is contained in:
eeleater 2023-03-07 08:57:34 +01:00
parent 4c06448dc1
commit 5e4c2c1577
6 changed files with 59 additions and 86 deletions

View file

@ -1,32 +1,21 @@
# One Dark by Giuseppe Cesarano, https://github.com/GiuseppeCesarano background #202745
# This work is licensed under the terms of the GPL-2.0 license. foreground #969cb3
# For a copy, see https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html. cursor #969cb3
selection_background #5e6686
# Colors color0 #202745
color8 #6a7394
foreground #979eab color1 #c84821
background #282c34 color9 #c76a28
color2 #ab9639
color0 #282c34 color10 #283256
color1 #e06c75 color3 #c08a2f
color2 #98c379 color11 #5e6686
color3 #e5c07b color4 #3d8ed0
color4 #61afef color12 #898ea3
color5 #be5046 color5 #6678cc
color6 #56b6c2 color13 #dee1f0
color7 #979eab color6 #21a1c8
color8 #393e48 color14 #9c6279
color9 #d19a66 color7 #969cb3
color10 #56b6c2 color15 #f4f7ff
color11 #e5c07b selection_foreground #202745
color12 #61afef
color13 #be5046
color14 #56b6c2
color15 #abb2bf
# Tab Bar
active_tab_foreground #282c34
active_tab_background #979eab
inactive_tab_foreground #abb2bf
inactive_tab_background #282c34

View file

@ -10,6 +10,6 @@ shell_integration enabled
font_family FiraCode Nerd Font font_family FiraCode Nerd Font
# BEGIN_KITTY_THEME # BEGIN_KITTY_THEME
# One Dark # Atelier Sulphurpool
include current-theme.conf include current-theme.conf
# END_KITTY_THEME # END_KITTY_THEME

View file

@ -1,13 +1,8 @@
shell = "zsh" shell = "zsh"
[templates] [templates]
defer = """{% for file in files %} defer = """{% for file in files %} zsh-defer source "{{ file }}" {% endfor %}"""
zsh-defer source "{{ file }}" defer-more = """{% for file in files %} zsh-defer -t 0.5 source "{{ file }}" {% endfor %}"""
{% endfor %}"""
defer-more = """{% for file in files %}
zsh-defer -t 0.5 source "{{ file }}"
{% endfor %}"""
# own files # own files
[plugins.localenv] [plugins.localenv]
@ -18,9 +13,9 @@ use = ["env.zsh"]
local = "~/.config/zsh/" local = "~/.config/zsh/"
use = [".p10k.zsh"] use = [".p10k.zsh"]
[plugins.ownfiles] [plugins.compinit]
local = "~/.config/zsh/files/" local = "~/.config/zsh/files/"
use = ["{compinit,aliases,functions,distroicon}.zsh"] use = ["compinit.zsh"]
# completions # completions
[plugins.completions] [plugins.completions]
@ -34,12 +29,12 @@ github = "trapd00r/LS_COLORS"
[plugins.zshdefer] [plugins.zshdefer]
github = "romkatv/zsh-defer" github = "romkatv/zsh-defer"
[plugins.ohmyzshlib] [plugins.omzlib]
github = "ohmyzsh/ohmyzsh" github = "ohmyzsh/ohmyzsh"
dir = "lib" dir = "lib"
use = ["{completion,key-bindings,history,directories}.zsh"] use = ["{completion,key-bindings,history,directories}.zsh"]
[plugins.ohmyzshplugins] [plugins.omzplugins]
github = "ohmyzsh/ohmyzsh" github = "ohmyzsh/ohmyzsh"
dir = "plugins" dir = "plugins"
use = ["{systemd,fzf,command-not-found,transfer}/*.plugin.zsh"] use = ["{systemd,fzf,command-not-found,transfer}/*.plugin.zsh"]
@ -104,27 +99,14 @@ use = ["sshcomp.zsh"]
#[plugins.powerlevel10k] #[plugins.powerlevel10k]
#github = "romkatv/powerlevel10k" #github = "romkatv/powerlevel10k"
#[plugins.starship]
#inline = "_evalcache starship init zsh --print-full-init"
[plugins.ohmyposh]
inline = "_evalcache oh-my-posh init zsh"
# evals # evals
[plugins.zoxide] [plugins.evalstuff]
inline = "_evalcache zoxide init --cmd cd zsh" local = "~/.config/zsh/files/"
use = ["evalstuff.zsh"]
[plugins.atuin] [plugins.ownfiles]
inline = "_evalcache atuin init zsh" local = "~/.config/zsh/files/"
use = ["{aliases,functions,distroicon}.zsh"]
[plugins.navi]
inline = "_evalcache navi widget zsh"
[plugins.direnv]
inline = "_evalcache direnv hook zsh"
[plugins.keychain]
inline = 'eval "$(keychain --dir "$XDG_CACHE_HOME"/keychain --eval --quiet id_rsa)"'
[plugins.bashcomps] [plugins.bashcomps]
local = "~/.config/zsh/files/" local = "~/.config/zsh/files/"

View file

@ -1,16 +1,13 @@
# path # path
export PATH="$HOME"/.local/bin:"$PATH" export PATH="$HOME"/.local/bin:"$PATH"
# ibus specific
export GTK_IM_MODULE=ibus
export QT_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
# xdg stuff # xdg stuff
export XDG_DATA_HOME="$HOME"/.local/share
export XDG_CONFIG_HOME="$HOME"/.config
export XDG_STATE_HOME="$HOME"/.local/state
export XDG_CACHE_HOME="$HOME"/.cache export XDG_CACHE_HOME="$HOME"/.cache
export XDG_CONFIG_HOME="$HOME"/.config
export XDG_CONFIG_DIRS=/etc/xdg
export XDG_DATA_HOME="$HOME"/.local/share
export XDG_DATA_DIRS=/usr/local/share:/usr/share
export XDG_STATE_HOME="$HOME"/.local/state
export XDG_DESKTOP_DIR=$HOME/Desktop export XDG_DESKTOP_DIR=$HOME/Desktop
export XDG_DOCUMENTS_DIR="$HOME"/Documents export XDG_DOCUMENTS_DIR="$HOME"/Documents
export XDG_DOWNLOAD_DIR="$HOME"/Downloads export XDG_DOWNLOAD_DIR="$HOME"/Downloads
@ -19,10 +16,6 @@ export XDG_PICTURES_DIR="$HOME"/Pictures
export XDG_VIDEOS_DIR="$HOME"/Videos export XDG_VIDEOS_DIR="$HOME"/Videos
export XDG_PROJECTS_DIR="$XDG_DOCUMENTS_DIR"/projects export XDG_PROJECTS_DIR="$XDG_DOCUMENTS_DIR"/projects
# system xdg stuff
export XDG_DATA_DIRS=/usr/local/share:/usr/share
export XDG_CONFIG_DIRS=/etc/xdg
# cache files # cache files
export NUGET_PACKAGES="$XDG_CACHE_HOME"/NuGetPackages export NUGET_PACKAGES="$XDG_CACHE_HOME"/NuGetPackages
export ZSH_EVALCACHE_DIR="$XDG_CACHE_HOME"/evalcache export ZSH_EVALCACHE_DIR="$XDG_CACHE_HOME"/evalcache
@ -43,24 +36,24 @@ export ASDF_DATA_DIR="$XDG_DATA_HOME"/asdf
export NB_DIR="$XDG_DATA_HOME"/nb export NB_DIR="$XDG_DATA_HOME"/nb
export DSTASK_GIT_REPO="$XDG_DATA_HOME"/dstask export DSTASK_GIT_REPO="$XDG_DATA_HOME"/dstask
export WAKATIME_HOME="$XDG_DATA_HOME"/wakatime export WAKATIME_HOME="$XDG_DATA_HOME"/wakatime
export WINEPREFIX="$XDG_DATA_HOME"/wine
# gpg
#export GNUPGHOME="$XDG_DATA_HOME"/gnupg #export GNUPGHOME="$XDG_DATA_HOME"/gnupg
export GPG_TTY="$TTY"
# other programs # other programs
export LESSHISTFILE="$XDG_STATE_HOME"/less/history export LESSHISTFILE="$XDG_STATE_HOME"/less/history
export EDITOR=nvim export EDITOR=nvim
export VISUAL="subl -w" export VISUAL="subl -w"
export ZSH_WAKATIME_BIN=/usr/bin/wakatime export ZSH_WAKATIME_BIN=/usr/bin/wakatime
export PYTHONSTARTUP="/etc/python/pythonrc"
# stuff # stuff
export ZELLIJ_AUTO_ATTACH=true export ZELLIJ_AUTO_ATTACH=true
export ZELLIJ_AUTO_EXIT=true export ZELLIJ_AUTO_EXIT=true
export TERMINALNAME=$(fastfetch --pipe 2>/dev/null | grep -i terminal: | awk '{print $2}') export TERMINALNAME=$(fastfetch --pipe 2>/dev/null | grep Terminal: | awk '{print $2}')
# zsh specific # zsh specific
export SAVEHIST=$(( 1000 * 1000 )) export SAVEHIST=$(( 100 * 1000 ))
export HISTSIZE=$(( 1.2 * SAVEHIST )) export HISTSIZE=$(( 1.2 * SAVEHIST ))
export ZSH_CACHE_DIR="$XDG_CACHE_HOME"/zsh export ZSH_CACHE_DIR="$XDG_CACHE_HOME"/zsh
export HISTFILE="$ZSH_CACHE_DIR"/history export HISTFILE="$ZSH_CACHE_DIR"/history
export GPG_TTY="$TTY"

View file

@ -0,0 +1,14 @@
# starship
# _evalcache starship init zsh --print-full-init
# ohmyposh
potentialTheme=('atomic.omp.json' 'emodipt-extend.omp.json' 'kali.omp.json' 'lambda.omp.json' 'nordtron.omp.json' 'pure.omp.json' 'uew.omp.json')
export POSH_THEME="/usr/share/oh-my-posh/themes/$potentialTheme[$RANDOM%$#potentialTheme+1]"
eval "$(ohmyposh init zsh)"
# evalstuff
_evalcache zoxide init --cmd cd zsh
_evalcache atuin init zsh
_evalcache navi widget zsh
_evalcache direnv hook zsh
eval "$(keychain --dir "$XDG_CACHE_HOME"/keychain --eval --quiet id_rsa)"

View file

@ -5,11 +5,6 @@ if test "x$TERMINALNAME" = "xalacritty"; then eval "$(zellij setup --generate-au
potentialBanner=('bofh; echo " - BOFH"' 'fastfetch' 'hackerquotes' 'colorscript random') potentialBanner=('bofh; echo " - BOFH"' 'fastfetch' 'hackerquotes' 'colorscript random')
eval "$potentialBanner[$RANDOM%$#potentialBanner+1]" eval "$potentialBanner[$RANDOM%$#potentialBanner+1]"
# ohmyposh theme
potentialTheme=('emodipt-extend.omp.json' '1_shell.omp.json' 'kali.omp.json' 'lambda.omp.json' 'pure.omp.json')
export POSH_TOOLTIP=false
export POSH_TRANSIENT=true
export POSH_THEME="/usr/share/oh-my-posh/themes/$potentialTheme[$RANDOM%$#potentialTheme+1]"
# and source plugins # and source plugins
eval "$(sheldon source)" eval "$(sheldon source)"