#!/bin/sh # icky, but necessary since this might inject the needed XDG vars . "$HOME/.config/environment.local" 2>/dev/null . "$XDG_DATA_HOME/cargo/env" 2>/dev/null # runit export SVDIR="$XDG_STATE_HOME"/service # editor export EDITOR=nvim export SUDO_EDITOR=nvim # ssh export SSH_ASKPASS=get_id_rsa_pass export SSH_ASKPASS_REQUIRE=force # 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/Sdk export ANDROID_USER_HOME="$XDG_DATA_HOME"/android export CARGO_HOME="$XDG_DATA_HOME"/cargo export GNUPGHOME="$XDG_DATA_HOME"/gnupg export GRADLE_USER_HOME="$XDG_DATA_HOME"/gradle export GRIDCOIN_DATADIR="$XDG_DATA_HOME"/GridcoinResearch 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 NODE_REPL_HISTORY="$XDG_DATA_HOME"/node_repl_history export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME"/npm/npmrc export PASSWORD_STORE_DIR="$XDG_DATA_HOME"/pass export PATH="$HOME/.local/bin:$PATH:$XDG_DATA_HOME/xxtools:$XDG_DATA_HOME/flutter/bin" export PYTHONSTARTUP="$XDG_CONFIG_HOME"/python/pythonrc export PYTHON_HISTORY="$XDG_STATE_HOME"/python_history 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 XCURSOR_PATH=/usr/share/icons:"$XDG_DATA_HOME"/icons export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java export PGUSER=postgres export XBPS_DISTDIR="$HOME"/repos/void-packages # pipewire logging #export PIPEWIRE_DEBUG="*:1,mod.raop*:5,default*:5" #export PIPEWIRE_LOG=/home/joel/pipewire.log # Android build stuff export USE_CCACHE=1 export CCACHE_EXEC=/usr/bin/ccache