Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Reduce title bar size for applications in Gnome by creating ~/.config/gtk-3.0/gtk.css with the following contents
# Gnome 3 - based on
.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
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