GNOME theme: register the extensions' schemas for GNOME Settings

This commit is contained in:
theupriser committed 2026-10-14 14:54:27 +02:00
1 parent eaa3f28fdc
commit 4221ae6e21
1 file changed
+7
+7
View File
@@ -54,6 +54,13 @@ gnometheme_extensions_install() {
fi fi
rm -f "$file" rm -f "$file"
fi fi
# GNOME Settings' Desktop panel finds the settings of the dock and of tiling in the default schema folders.
local schemas="${XDG_DATA_HOME:-$HOME/.local/share}/glib-2.0/schemas" ext
mkdir -p "$schemas"
for ext in ubuntu-dock@ubuntu.com tiling-assistant@ubuntu.com; do
cp "$GNOME_USER_EXTENSIONS/$ext"/schemas/*.gschema.xml "$schemas/" 2>/dev/null
done
glib-compile-schemas "$schemas" 2>/dev/null
dir="$GNOME_USER_EXTENSIONS/steamify-vapor@steamify.github.io" dir="$GNOME_USER_EXTENSIONS/steamify-vapor@steamify.github.io"
mkdir -p "$dir" mkdir -p "$dir"
patch_file steamify-vapor.js > "$dir/extension.js" patch_file steamify-vapor.js > "$dir/extension.js"