-
-
Save abiosoft/9704cf2e3453e98833fc5c7213f9c872 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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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