slackbuilds_ponce/desktop/gnome-shell/gnome-shell.wrap
Bob Funk 76ff721098
desktop/gnome-shell: Updated for version 41.9.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2022-11-19 10:08:10 +07:00

14 lines
399 B
Bash

#!/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 "$@"