aboutsummaryrefslogtreecommitdiff
path: root/desktop/gnome-shell/gnome-shell.wrap
diff options
context:
space:
mode:
authorBob Funk <bobfunk11@gmail.com>2022-11-18 06:03:28 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-11-19 10:08:10 +0700
commit76ff721098c72ef69004331e75ca912c43bfa7b6 (patch)
tree5fb388054b3824cb13f8395fd83c8979a0f3839d /desktop/gnome-shell/gnome-shell.wrap
parent5a161161957e52013255b3b5b7652c6bde5706fa (diff)
desktop/gnome-shell: Updated for version 41.9.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/gnome-shell/gnome-shell.wrap')
-rw-r--r--desktop/gnome-shell/gnome-shell.wrap14
1 files changed, 14 insertions, 0 deletions
diff --git a/desktop/gnome-shell/gnome-shell.wrap b/desktop/gnome-shell/gnome-shell.wrap
new file mode 100644
index 0000000000000..51efe348f8077
--- /dev/null
+++ b/desktop/gnome-shell/gnome-shell.wrap
@@ -0,0 +1,14 @@
+#!/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 "$@"