Add some CSS to make GTK CSD less annoying
This commit is contained in:
parent
42fc530131
commit
14325f1a4a
1 changed files with 42 additions and 0 deletions
|
@ -65,6 +65,48 @@
|
|||
gtk-cursor-theme-name = "Catppuccin-Latte-Light-Cursors";
|
||||
gtk-cursor-theme-size = 24;
|
||||
};
|
||||
extraCss = ''
|
||||
/* No (default) titlebar on wayland */
|
||||
headerbar.titlebar.default-decoration {
|
||||
background: transparent;
|
||||
padding: 0;
|
||||
margin: 0 0 -17px 0;
|
||||
border: 0;
|
||||
min-height: 0;
|
||||
font-size: 0;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* rm -rf window shadows */
|
||||
window.csd, /* gtk4? */
|
||||
window.csd decoration { /* gtk3 */
|
||||
box-shadow: none;
|
||||
}
|
||||
'';
|
||||
};
|
||||
gtk4 = {
|
||||
extraConfig = {
|
||||
gtk-cursor-theme-name = "Catppuccin-Latte-Light-Cursors";
|
||||
gtk-cursor-theme-size = 24;
|
||||
};
|
||||
extraCss = ''
|
||||
/* No (default) titlebar on wayland */
|
||||
headerbar.titlebar.default-decoration {
|
||||
background: transparent;
|
||||
padding: 0;
|
||||
margin: 0 0 -17px 0;
|
||||
border: 0;
|
||||
min-height: 0;
|
||||
font-size: 0;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* rm -rf window shadows */
|
||||
window.csd, /* gtk4? */
|
||||
window.csd decoration { /* gtk3 */
|
||||
box-shadow: none;
|
||||
}
|
||||
'';
|
||||
};
|
||||
iconTheme = {
|
||||
package = pkgs.libsForQt5.breeze-icons;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue