2023-07-25 09:36:46 -04:00
|
|
|
# icky, but necessary since this might inject the needed XDG vars
|
2023-07-25 14:10:17 -04:00
|
|
|
. "$HOME/.config/environment.local" 2>/dev/null
|
2023-07-27 08:53:50 -04:00
|
|
|
. "$XDG_DATA_HOME/cargo/env" 2>/dev/null
|
2023-07-21 15:35:28 -04:00
|
|
|
|
|
|
|
# editor
|
2023-08-17 13:58:28 -04:00
|
|
|
export EDITOR=nvim
|
|
|
|
export SUDO_EDITOR=nvim
|
2023-07-21 15:35:28 -04:00
|
|
|
|
|
|
|
# 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
|
2023-08-17 09:06:43 -04:00
|
|
|
export GRADLE_USER_HOME="$XDG_DATA_HOME"/gradle
|
2023-07-21 15:35:28 -04:00
|
|
|
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
|
2023-09-11 10:48:52 -04:00
|
|
|
export NODE_REPL_HISTORY="$XDG_DATA_HOME"/node_repl_history
|
2023-08-07 11:36:28 -04:00
|
|
|
export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME"/npm/npmrc
|
2023-08-22 14:16:06 -04:00
|
|
|
export PASSWORD_STORE_DIR="$XDG_DATA_HOME"/pass
|
2023-07-21 15:35:28 -04:00
|
|
|
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
|
2023-08-31 08:37:15 -04:00
|
|
|
export XCURSOR_PATH=/usr/share/icons:"$XDG_DATA_HOME"/icons
|
2023-07-21 15:35:28 -04:00
|
|
|
export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
|
|
|
|
|
2023-08-04 14:56:11 -04:00
|
|
|
export PGUSER=postgres
|
2023-07-21 15:35:28 -04:00
|
|
|
export XBPS_DISTDIR=$HOME/repos/void-packages
|