Last active
July 1, 2019 04:24
-
-
Save ba0f3/aa042c0559ceff225e99ab4def1921f2 to your computer and use it in GitHub Desktop.
hide title bar on maximized windows (works on gnome-shell 3.32)
This file contains hidden or 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
/* | |
CREDIT: Josh Sherman (https://joshtronic.com/2017/07/26/hide-title-bars-in-gnome-shell) | |
USAGE: copy and paste the code bellow in to ~/.config/gtk-3.0/gtk.css | |
*/ | |
window.ssd.maximized separator:first-child + headerbar:backdrop, | |
window.ssd.maximized separator:first-child + headerbar, | |
window.ssd.maximized headerbar:first-child:backdrop, | |
window.ssd.maximized headerbar:first-child, | |
window.ssd.maximized headerbar:last-child:backdrop, | |
window.ssd.maximized headerbar:last-child, | |
window.ssd.maximized stack headerbar:first-child:backdrop, | |
window.ssd.maximized stack headerbar:first-child, | |
window.ssd.maximized stack headerbar:last-child:backdrop, | |
window.ssd.maximized stack headerbar:last-child, | |
window.ssd.maximized decoration, window.ssd.maximized headerbar.titlebar { | |
border-radius: 0; | |
} | |
window.ssd.maximized headerbar * { | |
margin-top: -100px; | |
color: #1c2022; /* May need to tweak, this matches Adwaita Dark */ | |
} | |
window.ssd.maximized headerbar.titlebar, window.ssd.maximized headerbar.titlebar button.titlebutton { | |
border: none; | |
font-size: 0; | |
height: 0; | |
margin: 0; | |
max-height: 0; | |
min-height: 0; | |
padding: 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment