dotfiles/dot_config/environment

34 lines
1.1 KiB
Plaintext
Raw Normal View History

2023-07-25 09:36:46 -04:00
# icky, but necessary since this might inject the needed XDG vars
. "$HOME/.config/environment.local"
2023-07-21 15:40:16 -04:00
. "$XDG_DATA_HOME/cargo/env"
2023-07-21 15:35:28 -04:00
# editor
export EDITOR=/usr/bin/nvim
export SUDO_EDITOR=/usr/bin/nvim
# wayland
export MOZ_ENABLE_WAYLAND=1
export QT_QPA_PLATFORM=wayland
# sway stuff
#export XDG_CURRENT_DESKTOP=sway
#export _JAVA_AWT_WM_NONREPARENTING=1
#export QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
# XDG enforcement
export ANDROID_HOME="$XDG_DATA_HOME"/android
export CARGO_HOME="$XDG_DATA_HOME"/cargo
export GNUPGHOME="$XDG_DATA_HOME"/gnupg
export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
export INPUTRC="$XDG_CONFIG_HOME"/readline/inputrc
export KDEHOME="$XDG_CONFIG_HOME"/kde
export LESSHISTFILE="$XDG_STATE_HOME"/less/history
export MINETEST_USER_PATH="$XDG_DATA_HOME"/minetest
export RUSTUP_HOME="$XDG_DATA_HOME"/rustup
export SQLITE_HISTORY="$XDG_CACHE_HOME"/sqlite_history
export WINEPREFIX="$XDG_DATA_HOME"/wine
export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority
export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
export XBPS_DISTDIR=$HOME/repos/void-packages