summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhillip Schichtel2022-12-11 16:41:43 +0100
committerPhillip Schichtel2022-12-11 16:41:43 +0100
commit9112faaa7a00d27c6a8c4382931d1f477d1075ab (patch)
treee94ea60ffdd3eee4783b2645cac81470e49d32b1
parente2666de55aa5ee1135badec12b506c003045a32d (diff)
downloadaur-9112faaa7a00d27c6a8c4382931d1f477d1075ab.tar.gz
correct the XDG variable
-rw-r--r--starsector.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/starsector.sh b/starsector.sh
index c94d47ce2283..7fed46130bae 100644
--- a/starsector.sh
+++ b/starsector.sh
@@ -5,7 +5,7 @@ set -euo pipefail
# fix for users of special IM modules
unset XMODIFIERS GTK_IM_MODULE QT_IM_MODULE
-state_dir="${XDG_STATE_HOME:-"$HOME/.local/share"}/starsector"
+state_dir="${XDG_DATA_HOME:-"$HOME/.local/share"}/starsector"
saves_path="${state_dir}/saves"
mods_path="${state_dir}/mods"
screenshots_path="${state_dir}/screenshots"