Quoted some variables

This commit is contained in:
Héctor Molinero Fernández
2021-12-30 11:51:07 +01:00
parent ea5880341b
commit 4220106bf2
3 changed files with 8 additions and 6 deletions

View File

@@ -1 +1,3 @@
#!/bin/sh
exec xfce4-session

View File

@@ -1,16 +1,16 @@
#!/bin/sh
export XDG_CACHE_HOME=${HOME:?}/.cache
export XDG_CACHE_HOME="${HOME:?}"/.cache
export XDG_CONFIG_DIRS=/etc/xdg/xdg-xubuntu:/etc/xdg
export XDG_CONFIG_HOME=${HOME:?}/.config
export XDG_CONFIG_HOME="${HOME:?}"/.config
export XDG_CURRENT_DESKTOP=XFCE
export XDG_DATA_DIRS=/usr/share/xubuntu:/usr/share/xfce4:/usr/local/share:/usr/share
export XDG_DATA_HOME=${HOME:?}/.local/share
export XDG_DATA_HOME="${HOME:?}"/.local/share
export XDG_MENU_PREFIX=xfce-
export XDG_RUNTIME_DIR=/run/user/${UNPRIVILEGED_USER_UID:?}
export XDG_RUNTIME_DIR=/run/user/"${UNPRIVILEGED_USER_UID:?}"
export XDG_SESSION_DESKTOP=xubuntu
export XDG_SESSION_TYPE=x11
if [ -z "${VGL_DISPLAY-}" ] && [ -n "${DISPLAY-}" ]; then
export VGL_DISPLAY=${DISPLAY:?}
export VGL_DISPLAY="${DISPLAY:?}"
fi