Browse Source

gnome extension with no schema

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

6
src/main

@ -204,8 +204,10 @@ EXTENSIONS=(
for extension in "${EXTENSIONS[@]}"; do for extension in "${EXTENSIONS[@]}"; do
if [[ ! -d $HOME/.local/share/gnome-shell/extensions/$extension ]];then if [[ ! -d $HOME/.local/share/gnome-shell/extensions/$extension ]];then
gnome-extensions-cli install $extension gnome-extensions-cli install $extension
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/
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 else
echo "extension <${extension}> already installed!" echo "extension <${extension}> already installed!"
fi fi

Loading…
Cancel
Save