57 lines
1.9 KiB
Bash
57 lines
1.9 KiB
Bash
# Path setup
|
|
typeset -U PATH path
|
|
path=("$HOME/.local/bin" "$HOME/bin/dmenu" "$HOME/bin/misc" "$HOME/bin/statusbar" "$path[@]")
|
|
export PATH
|
|
|
|
# qt5ct setting
|
|
export QT_QPA_PLATFORMTHEME="qt6ct"
|
|
|
|
# Basic settings
|
|
export EDITOR="nvim"
|
|
export VISUAL="nvim"
|
|
export READER="zathura"
|
|
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"
|
|
|
|
# NNN settings
|
|
export NNN_FIFO="/tmp/nnn.fifo"
|
|
export NNN_PLUG="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"
|
|
|
|
# XDG CLEANUP
|
|
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_DESKTOP_DIR="$HOME/.local/share/desktop"
|
|
export XDG_DOWNLOAD_DIR="$HOME/downs"
|
|
export XDG_TEMPLATES_DIR="$HOME/.local/share/templates"
|
|
export XDG_PUBLICSHARE_DIR="$HOME/.local/share/public"
|
|
export XDG_DOCUMENTS_DIR="$HOME/docs"
|
|
export XDG_MUSIC_DIR="$HOME/music"
|
|
export XDG_PICTURES_DIR="$HOME/pics"
|
|
export XDG_VIDEOS_DIR="$HOME/vids"
|
|
|
|
# Home cleanup
|
|
export CARGO_HOME="$XDG_DATA_HOME"/cargo
|
|
export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv
|
|
export GNUPGHOME="$XDG_DATA_HOME"/gnupg
|
|
export GOPATH="$XDG_DATA_HOME"/go
|
|
export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
|
|
export XCURSOR_PATH=/usr/share/icons:$XDG_DATA_HOME/icons
|
|
export XINITRC="$XDG_CONFIG_HOME"/X11/xinitrc
|
|
export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME"/npm/npmrc
|
|
|