diff --git a/src/main b/src/main index 3f3f97a..ceeac6f 100755 --- a/src/main +++ b/src/main @@ -172,7 +172,6 @@ gsettings set org.gnome.nautilus.preferences click-policy 'single' gsettings set org.gnome.mutter dynamic-workspaces false gsettings set org.gnome.desktop.wm.preferences num-workspaces 1 gsettings set org.gnome.desktop.peripherals.touchpad tap-to-click true -gsettings set org.gnome.shell.extensions.netspeed use-bytes true echo "## favorite apps" echo "================" @@ -203,15 +202,16 @@ NEED_GNOME_SHELL_RESTART=false for extension in "${EXTENSIONS[@]}"; do if [[ ! -d $HOME/.local/share/gnome-shell/extensions/$extension ]]; then NEED_GNOME_SHELL_RESTART=true - gnome-extensions-cli --backend file install $extension + gnome-extensions-cli --backend file 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 + gnome-extensions-cli --backend file update "$extension" echo "extension <${extension}> already installed!" fi done +sudo glib-compile-schemas /usr/share/glib-2.0/schemas/ # recompile each time echo "# gnome extra settings" echo "======================" @@ -222,7 +222,9 @@ gsettings set org.gnome.shell.extensions.system-monitor memory-display false gsettings set org.gnome.shell.extensions.system-monitor net-display false gsettings set org.gnome.shell.extensions.system-monitor disk-display false gsettings set org.gnome.shell.extensions.system-monitor icon-display false + gsettings set org.gnome.shell.extensions.netspeed show-sum true +gsettings set org.gnome.shell.extensions.netspeed use-bytes true gsettings set org.gnome.shell.extensions.dash-to-dock dock-fixed true gsettings set org.gnome.shell.extensions.dash-to-dock apply-custom-theme true