summaryrefslogtreecommitdiffstats
path: root/desktop/gnome-shell/gnome-shell.wrap
blob: 51efe348f80779017d00b425ca694b5ffb1c9905 (plain)
#!/bin/bash
#
# gnome-shell wrapper script to include a non-standard gschemas directory.
#

SYS_DATADIR=/usr/share
ALT_DATADIR=$SYS_DATADIR/gnome-shell/gsettings-desktop-schemas

# Using XDG_DATA_DIRS, since gnome-shell searches these paths for schemas (in order):
if [ -e "$ALT_DATADIR" ]; then
  export XDG_DATA_DIRS=$ALT_DATADIR:$SYS_DATADIR:$XDG_DATA_DIRS
fi

exec /usr/bin/gnome-shell-bin "$@"