Add some missing XDG environment variables

This commit is contained in:
Josh.5
2023-09-11 19:13:53 +12:00
parent cc8bc1b02d
commit acee2481c1
2 changed files with 6 additions and 2 deletions

View File

@@ -25,7 +25,10 @@ rm -f /tmp/.started-desktop
# Note: This script should be the only one that waits for X after exporting this dbus session
rm -fv /tmp/.dbus-desktop-session.env
export_desktop_dbus_session
# Configure some XDG environment variables
export XDG_CACHE_HOME="${USER_HOME:?}/.cache"
export XDG_CONFIG_HOME="${USER_HOME:?}/.config"
export XDG_DATA_HOME="${USER_HOME:?}/.local/share"
# EXECUTE PROCESS:
# Wait for the X server to start