Created
November 3, 2022 01:26
-
-
Save bndlfm/38f66212767b79eee403edabe33cf73a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# ~/.bash_profile | |
# | |
# possible nvidia issue with vr? | |
export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json | |
# make kitty work right in wayland | |
export KITTY_ENABLE_WAYLAND=1 | |
# make QT apps display proper theming | |
export QT_STYLE_OVERRIDE=kvantum | |
# source oh-my-zsh location | |
export ZSH=~/.oh-my-zsh | |
################### | |
# FIREFOX WAYLAND # | |
################### | |
if [ "$XDG_SESSION_TYPE" == "wayland" ]; then | |
export MOZ_ENABLE_WAYLAND=1 | |
fi | |
######################### | |
# FUZZY FINDER KEYBINDS # | |
######################### | |
export FZF_DEFAULT_OPTS='--bind ctrl-e:down,ctrl-u:up --preview "[[ $(file --mime {}) =~ binary ]] && echo {} is a binary file || (ccat --color=always {} || highlight -O ansi -l {} || cat {}) 2> /dev/null | head -500"' | |
export FZF_DEFAULT_COMMAND='ag -l --hidden --ignore .git -g "" 2>/dev/null' | |
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND" | |
export FZF_ALT_C_COMMAND='fd -t d --hidden . $HOME' | |
export FZF_ALT_C_OPTS='--bind ctrl-e:down,ctrl-u:up --preview "[[ $(file --mime {}) =~ binary ]] && echo {} is a binary file || (ccat --color=always {} || highlight -O ansi -l {} || cat {}) 2> /dev/null | head -500"' | |
export FZF_COMPLETION_TRIGGER='\' | |
export FZF_TMUX=1 | |
export FZF_TMUX_HEIGHT='80%' | |
export fzf_preview_cmd='[[ $(file --mime {}) =~ binary ]] && echo {} is a binary file || (ccat --color=always {} || highlight -O ansi -l {} || cat {}) 2> /dev/null | head -500' | |
################ | |
# Japanese IME # | |
################ | |
export GTK_IM_MODULE=ibus | |
export QT_IM_MODULE=ibus | |
export SDL_IM_MODULE=ibus | |
export XMODIFIERS=@im=ibus | |
######################## | |
# LS_COLORS & LSCOLORS # | |
######################## | |
#export | |
######################## | |
# SET NVIM AS DEFAULTS # | |
######################## | |
#export nvim as default editor | |
export VISUAL=/usr/bin/nvim | |
export EDITOR=/usr/bin/nvim | |
export SUDO_EDITOR=/usr/bin/nvim | |
#make pacdiff use nvim | |
export DIFFPROG=meld pacdiff | |
export PAGER="page -q 90000" | |
export MANPAGER="page -C -e 'au User PageDisconnect sleep 100m|%y p|enew! |bd! #|pu p|set ft=man'" | |
############################# | |
# PATHS TO SCRIPTS/BINARIES # | |
############################# | |
export PATH=$PATH:/usr/local/bin | |
export PATH=$PATH:$HOME/.local/bin | |
#ruby first | |
export PATH=$PATH:/.gem/ruby/2.7.0 | |
export PATH=$PATH:$HOME/.gem/ruby/2.7.0 | |
export PATH=$PATH:$HOME/.gem/ruby/2.7.0/bin | |
#export gopath | |
export GOPATH=$HOME/.local/share/go | |
################ | |
# SDL SETTINGS # | |
################ | |
#stop borderless windowed games from minimizing when losing focus | |
export SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0 | |
#for midi playback with sdl_mixer | |
export SDL_SOUNDFONTS=/usr/share/soundfonts/FluidR3_GM.sf2 | |
###################### | |
# WINE ENV VARIABLES # | |
###################### | |
#export WINEDEBUG=+esync | |
############################### | |
# XDG_CONFIG_HOME WORKAROUNDS # | |
############################### | |
export XDG_CONFIG_HOME=$HOME/.config | |
export DOCKER_CONFIG=$XDG_CONFIG_HOME/docker | |
# source ~/.bashrc | |
[[ -f ~/.bashrc ]] && . ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment