Browse Source

gschema extension

bookworm 0.1.17
pvincent 4 years ago
parent
commit
d390c78ec6
  1. 3
      src/main

3
src/main

@ -161,11 +161,14 @@ EXTENSIONS=(
"system-monitor@paradoxxx.zero.gmail.com" "system-monitor@paradoxxx.zero.gmail.com"
"dash-to-dock@micxgx.gmail.com" "dash-to-dock@micxgx.gmail.com"
"netspeed@hedayaty.gmail.com" "netspeed@hedayaty.gmail.com"
) )
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/
else else
echo "extension <${extension}> already installed!" echo "extension <${extension}> already installed!"
fi fi

Loading…
Cancel
Save