-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshenv
87 lines (72 loc) · 2.81 KB
/
.zshenv
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# vim: set filetype=sh
# Environmental variables for zsh
export ZDOTDIR=$HOME/.config/zsh
export TERMCMD=xterm
export PATH="$HOME/.bin/statusbar:$HOME/.local/bin:$HOME/.cargo/bin:$HOME/.bin:$HOME/local/bin:/var/lib/flatpak/exports/bin:$PATH:$HOME/Apps:/opt/android-sdk/platform-tools"
# Golang
export PATH="$PATH:/usr/local/go/bin"
export EDITOR=nvim
export BROWSER=firefox
export FILE_MANAGER=pcmanfm
export CALCULATOR=galculator
export CDPATH=~/.shortcut_dirs
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/local/share"
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_DATA_DIRS="/usr/local/share:/usr/share:$HOME/.local/share:/var/lib/flatpak/exports/share:/home/mike/local/share/flatpak/exports/share"
export XDG_CONFIG_DIRS="/etc/xdg"
export XDG_PICTURES_DIR="$HOME/Pictures"
export XDG_SCREENSHOTS_DIR="$HOME/Pictures/screenshots"
export VIMINIT='source $XDG_CONFIG_HOME/nvim/init.vim'
source $HOME/.cache/bwsession
export GTK_THEME="Adwaita:dark"
# Display protocol specific env vars
case $XDG_SESSION_TYPE in
"wayland")
export TERMINAL="foot"
export RUN_LAUNCHER="bemenu-run"
export MENU="bemenu"
export BUS_BROWSER="brave"
export MOZ_ENABLE_WAYLAND=1
export WMBLOCKS="someblocks"
export GDK_BACKEND="wayland"
;;
"x11")
[ -x "$(command -v st)" ] && export TERMINAL="st"
export RUN_LAUNCHER="dmenu_run"
export BUS_BROWSER="brave"
export MENU="dmenu"
export WMBLOCKS="dwmblocks"
;;
esac
# make fzf not follow symbolic links
export FZF_DEFAULT_COMMAND='rg --files --hidden --no-ignore-vcs'
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
export QT_STYLE_OVERRIDE=kvantum
#
# export VIRSH_DEFAULT_CONNECT_URI=qemu:///system
# set username for wine
export WINEUSERNAME=combat1921
# export GST_PLUGIN_SYSTEM_PATH_1_0="$HOME/.steam/steam/compatibilitytools.d/Proton-5.21-GE-1/dist/lib64/gstreamer-1.0:$HOME/.steam/steam/compatibilitytools.d/Proton-5.21-GE-1/dist/lib/gstreamer-1.0"
#source personal environment variables
source $HOME/.config/zsh/private_env
source $HOME/.config/bemenu/bemenu_conf
# Load pyenv into the shell by adding
# the following to ~/.zshrc:
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init --path)"
eval "$(pyenv init -)"
# RADV = mesa, AMDVLK = amd vulkan
export AMD_VULKAN_ICD=RADV
# certain programs want the python in PATH to be native
# function native_python(){
# export PATH="/usr/bin:$PATH"
# }
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk
alias psp=PPSSPPSDL
# export $(dbus-launch)
export GTK_MODULES=canberra-gtk-module
export GTK3_MODULES=xapp-gtk3-module
export ZDOTDIR=$HOME/.config/zsh
source "/home/mike/.rover/env"