gentoo-dots/.zshenv

83 lines
3.0 KiB
Bash
Executable File

export _JAVA_AWT_WM_NONREPARENTING=1
# Programs export
export EDITOR="nvim"
export READER="zathura"
export BOOK_READER="foliate"
export TERMINAL="alacritty"
export BROWSER="qutebrowser"
export VIDEO="mpv"
export IMAGE="nsxiv"
export OPENER="xdg-open"
export PAGER="less"
export WM="xmonad"
export SUDO_ASKPASS="dmenu-pass"
# clipmenu settings
export CM_MAX_CLIPS=20
export CM_IGNORE_WINDOW="KeePassXC"
export CM_SELECTIONS="clipboard"
export CM_OWN_CLIPBOARD=1
export CM_DIR="$HOME/.cache"
# NNN settings
export NNN_FIFO="/tmp/nnn.fifo"
export NNN_PLUG="s:!zsh -i*;u:nmount;c:chksum;r:gitroot;v:imgview;m:mtpmount;d:xdgdefault;x:togglex;p:preview-tui"
export NNN_SSHFS="sshfs -o follow_symlinks"
export NNN_TERMINAL="alacritty --class preview,preview"
# Catppuccin colors nnn
BLK="03" CHR="03" DIR="04" EXE="02" REG="07" HARDLINK="05" SYMLINK="05" MISSING="08" ORPHAN="01" FIFO="06" SOCK="03" UNKNOWN="01"
export NNN_COLORS="#04020301;4231"
export NNN_FCOLORS="$BLK$CHR$DIR$EXE$REG$HARDLINK$SYMLINK$MISSING$ORPHAN$FIFO$SOCK$UNKNOWN"
# clean up
export XDG_STATE_HOME="$HOME/.local/state"
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_CACHE_HOME="$HOME/.cache"
export NOTMUCH_CONFIG="$XDG_CONFIG_HOME/notmuch-config"
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
export LESSHISTFILE="-"
export WINEPREFIX="$XDG_DATA_HOME/wineprefixes/default"
export PASSWORD_STORE_DIR="$XDG_DATA_HOME/password-store"
export ANDROID_SDK_HOME="$XDG_CONFIG_HOME/android"
export CARGO_HOME="$XDG_DATA_HOME/cargo"
export CUDA_CACHE_PATH="$XDG_CONFIG_HOME/nv"
export GNUPGHOME="$XDG_DATA_HOME/gnupg"
export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc"
export KDEHOME="$XDG_CONFIG_HOME/kde"
export NBRC_PATH="$XDG_CONFIG_HOME/nbrc"
export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME/java"
export XINITRC="$XDG_CONFIG_HOME/X11/xinitrc"
export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
export GOPATH="$XDG_DATA_HOME/go"
export HISTFILE="$XDG_STATE_HOME"/zsh/history
export CCACHE_DIR="$XDG_CACHE_HOME/ccache"
export DOTNET_CLI_TELEMETRY_OPTOUT=1
export WGETRC="$XDG_CONFIG_HOME/wget/wgetrc"
export NUGET_PACKAGES="$XDG_CACHE_HOME/NuGetPackages"
export PARALLEL_HOME="$XDG_CONFIG_HOME/parallel"
export XCURSOR_PATH=/usr/share/icons:$XDG_DATA_HOME/icons
export MYPY_CACHE_DIR="$XDG_CACHE_HOME"/mypy
export INPUTRC="$XDG_CONFIG_HOME"/readline/inputrc
export ANDROID_HOME="$XDG_DATA_HOME"/android
export W3M_DIR="$XDG_DATA_HOME"/w3m
# fzf catppuccin theme
export FZF_DEFAULT_OPTS=" \
--color=bg+:#414559,bg:#303446,spinner:#f2d5cf,hl:#e78284 \
--color=fg:#c6d0f5,header:#e78284,info:#ca9ee6,pointer:#f2d5cf \
--color=marker:#f2d5cf,fg+:#c6d0f5,prompt:#ca9ee6,hl+:#e78284"
export FZF_DEFAULT_COMMAND='fd --type f --color=never --hidden --exclude ".git"'
# bemene options
export BEMENU_OPTS='-H 24 --fb "#303446" --ff "#81c8be" \
--nb "#303446" --nf "#f2d5cf" --tb "#303446" --hb "#303446" \
--tf "#ca9ee6" --hf "#8caaee" --nf "#f2d5cf" --af "#f2d5cf" --ab "#303446"'
# bat theme
export BAT_THEME="Catppuccin-mocha"