mirror of
https://github.com/theupriser/steamify-cachyos.git
synced 2026-10-14 15:44:47 +02:00
GNOME theme: register the extensions' schemas for GNOME Settings
This commit is contained in:
1 parent
eaa3f28fdc
commit
4221ae6e21
1 file changed
+7
@@ -54,6 +54,13 @@ gnometheme_extensions_install() {
|
||||
fi
|
||||
rm -f "$file"
|
||||
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"
|
||||
mkdir -p "$dir"
|
||||
patch_file steamify-vapor.js > "$dir/extension.js"
|
||||
|
||||
Reference in new issue
Block a user