Skip to content

Instantly share code, notes, and snippets.

@jamesridgway
Created December 31, 2017 11:58
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save jamesridgway/2f123c4d6262ad13d1aa5120f6063098 to your computer and use it in GitHub Desktop.
Save jamesridgway/2f123c4d6262ad13d1aa5120f6063098 to your computer and use it in GitHub Desktop.
Reduce title bar size for applications in Gnome by creating ~/.config/gtk-3.0/gtk.css with the following contents
# Gnome 3 - based on https://blog.samalik.com/make-your-gnome-title-bars-smaller/
.header-bar.default-decoration {
padding-top: 3px;
padding-bottom: 3px;
font-size: 0.8em;
}
.header-bar.default-decoration .button.titlebutton {
padding: 0px;
}
# --------------------------------------------------
# Gnome 3.20+ - based on https://blog.samalik.com/make-your-gnome-title-bar-smaller-fedora-24-update/
window.ssd headerbar.titlebar {
padding-top: 4px;
padding-bottom: 4px;
min-height: 0;
}
window.ssd headerbar.titlebar button.titlebutton {
padding: 0px;
min-height: 0;
min-width: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment