diff --git a/scripts/install-gothic.sh b/scripts/install-gothic.sh index 59008f1..4905f58 100755 --- a/scripts/install-gothic.sh +++ b/scripts/install-gothic.sh @@ -13,7 +13,7 @@ set -o nounset set -o xtrace set -o errexit -downloaddir=~/download/gothic +downloaddir="${XDG_DOWNLOAD_DIR}"/gothic mkdir -p "${downloaddir}" cd "${downloaddir}" diff --git a/scripts/install-gothic2.sh b/scripts/install-gothic2.sh index 40bd00d..4fcc8a7 100755 --- a/scripts/install-gothic2.sh +++ b/scripts/install-gothic2.sh @@ -21,7 +21,7 @@ export WINEARCH=win64 export WINEVERSION=6.3 -DOWNLOADDIR=~/download/gothic2 +DOWNLOADDIR="${XDG_DOWNLOAD_DIR}"/gothic2 mkdir -p "${WINEPREFIX}" diff --git a/zsh/zprofile.j2 b/zsh/zprofile.j2 index 520bdd0..022ebe0 100644 --- a/zsh/zprofile.j2 +++ b/zsh/zprofile.j2 @@ -22,6 +22,8 @@ export XDG_CACHE_HOME="$HOME/.cache" export XDG_DATA_HOME="$HOME/.local/share" export XDG_STATE_HOME="$HOME/.local/state" +XDG_DOWNLOAD_DIR="$HOME/download" + export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority export RUSTUP_HOME="$XDG_DATA_HOME"/rustup