xps-dots/.profile

56 lines
1.4 KiB
Bash
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#ZSH-env
ZDOTDIR=$HOME
# display
export DEFAULT_USER="hate"
export VDPAU_DRIVER="va_gl"
export LIBVA_DRIVER_NAME="iHD"
export VAAPI_MPEG4_ENABLED=true
# Common apps
export ZSH=/home/hate/.oh-my-zsh
export EDITOR=nvim
export BROWSER=/usr/bin/chromium
export GNUPGHOME="~/.gnupg"
export SSH_KEY_PATH="~/.ssh/id_rsa"
export TERMINAL="kitty"
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
export XDG_CONFIG_HOME="$HOME/.config"
#fzf
export FZF_BASE="$HOME/.fzf"
export FZF_DEFAULT_COMMAND='ag --hidden --ignore .git -g ""'
export FZF_CTRL_R_OPTS="--sort --exact"
export FZF_ALT_C_OPTS="--preview 'tree -C {} | head -200'"
export FZF_DEFAULT_OPTS="
--layout=reverse
--info=inline
--height=80%
--multi
--preview-window=:hidden
--preview '([[ -f {} ]] && (bat --style=numbers --color=always {} || cat {})) || ([[ -d {} ]] && (tree -C {} | less)) || echo {} 2> /dev/null | head -200'
--color='hl:148,hl+:154,pointer:032,marker:010,bg+:237,gutter:008'
--prompt=' ' --pointer='▶' --marker='✓'
--bind 'h:toggle-preview'
--bind 'ctrl-a:select-all'
--bind 'ctrl-y:execute-silent(echo {+} | pbcopy)'
--bind 'ctrl-v:execute(code {+})'
"
# Compilation flags
export ARCHFLAGS="-arch x86_64"
# Borg SSH
export BORG_RSH='ssh -i /home/hate/.ssh/id_ed25519'
# HiDPI
export GDK_SCALE=2
export GDK_DPI_SCALE=0.5
export QT_AUTO_SCREEN_SCALE_FACTOR=1
# QGtkStyle
export QT_QPA_PLATFORMTHEME=gtk2
# Firefox
MOZ_X11_EGL=1