Browse Source

gsetting after compiling

bookworm
pvincent 3 years ago
parent
commit
ad8e1b52eb
  1. 8
      src/main

8
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

Loading…
Cancel
Save