dotfiles/.zprofile

37 lines
1.0 KiB
Plaintext
Raw Normal View History

export PATH="$HOME/.local/bin:$HOME/utils/bin:$HOME/.cargo/bin:$GOPATH/bin:$PATH"
if [ ! -S ~/.ssh/ssh_auth_sock ]; then
eval `ssh-agent` > /dev/null
ln -sf "$SSH_AUTH_SOCK" ~/.ssh/ssh_auth_sock
fi
export SSH_AUTH_SOCK=~/.ssh/ssh_auth_sock
if [ -n "$DESKTOP_SESSION" ];then
eval $(gnome-keyring-daemon --start)
export SSH_AUTH_SOCK
fi
if [[ -z "$WAYLAND_DISPLAY" ]]; then
export QT_QPA_PLATFORMTHEME=wayland
export QT_AUTO_SCREEN_SCALE_FACTOR=0
export MOZ_DBUS_REMOTE=1
export MOZ_USE_XINPUT2=1
export _JAVA_AWT_WM_NONREPARENTING=1
export KITTY_ENABLE_WAYLAND=1
export BEMENU_BACKEND=wayland
else
export QT_QPA_PLATFORMTHEME="qt5ct"
fi
export DOTNET_CLI_TELEMETRY_OPTOUT=1 # why do I always have to take care of this myself...
export ANDROID_HOME=$HOME/utils/Android/Sdk
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/platform-tools
export ANDROID_SDK_ROOT=$ANDROID_HOME
export ANDROID_SDK_PATH=$ANDROID_HOME
export ANDROID_NDK_PATH=$ANDROID_HOME/ndk-bundle
export AndroidSdkPath=$ANDROID_HOME
export AndroidNdkPath=$ANDROID_NDK_PATH