Added script to configure GTK - Gnome

Added another script to reset gtk
This commit is contained in:
Tracey Clark 2018-03-06 08:54:16 -06:00
commit e1b2350268
3 changed files with 24 additions and 1 deletions

13
gnome-config.sh Normal file
View file

@ -0,0 +1,13 @@
#!/bin/bash
# Set certain configuration options in gnome
# because the cult of simple design has gone too far
# Works for budgie wm on Ubuntu 17.10 as well
# Restore menu icons
gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gtk/ButtonImages': <1>, 'Gtk/MenuImages': <1>}"
# To reduce GNOME 3 titlebar height
cp gtk.css ~/.config/gtk-3.0/gtk.css
# Restart gnome shell - manually with alt+f2, type r and press return (not in budgie)
gnome-shell --replace

9
gtk.css Normal file
View file

@ -0,0 +1,9 @@
.header-bar.default-decoration {
padding-top: 0px;
padding-bottom: 0px;
}
.header-bar.default-decoration .button.titlebutton {
padding-top: 0px;
padding-bottom: 0px;
}

View file

@ -21,3 +21,4 @@ dconf reset -f /org/gnome/
# Reset Gnome Extensions
mv ~/.local/share/gnome-shell/extensions ~/.local/share/gnome-shell/extensions-bkup
mkdir -p ~/.local/share/gnome-shell/extensions