getting rid of gtk titlebars
This commit is contained in:
parent
b961f230a7
commit
3bb093357b
2 changed files with 24 additions and 0 deletions
12
gtk/.config/gtk-3.0/gtk.css
Normal file
12
gtk/.config/gtk-3.0/gtk.css
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
/* No (default) title bar on wayland */
|
||||||
|
headerbar.default-decoration {
|
||||||
|
/* You may need to tweak these values depending on your GTK theme */
|
||||||
|
margin-bottom: 50px;
|
||||||
|
margin-top: -100px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* rm -rf window shadows */
|
||||||
|
window.csd, /* gtk4? */
|
||||||
|
window.csd decoration { /* gtk3 */
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
12
gtk/.config/gtk-4.0/gtk.css
Normal file
12
gtk/.config/gtk-4.0/gtk.css
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
/* No (default) title bar on wayland */
|
||||||
|
headerbar.default-decoration {
|
||||||
|
/* You may need to tweak these values depending on your GTK theme */
|
||||||
|
margin-bottom: 50px;
|
||||||
|
margin-top: -100px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* rm -rf window shadows */
|
||||||
|
window.csd, /* gtk4? */
|
||||||
|
window.csd decoration { /* gtk3 */
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue