Browse Source

gnome extension with no schema

bookworm
pvincent 3 years ago
parent
commit
6281e6d93e
  1. 2
      src/main

2
src/main

@ -204,8 +204,10 @@ EXTENSIONS=(
for extension in "${EXTENSIONS[@]}"; do
if [[ ! -d $HOME/.local/share/gnome-shell/extensions/$extension ]];then
gnome-extensions-cli install $extension
if [ -d $HOME/.local/share/gnome-shell/extensions/$extension/schemas]; then
sudo cp $HOME/.local/share/gnome-shell/extensions/$extension/schemas/*.gschema.xml /usr/share/glib-2.0/schemas/
sudo glib-compile-schemas /usr/share/glib-2.0/schemas/
fi
else
echo "extension <${extension}> already installed!"
fi

Loading…
Cancel
Save