home/programs/gtk: disable gtk decoration buttons

This commit is contained in:
Anthony Rodriguez 2024-10-06 15:57:20 +02:00
parent c5fdfffaf6
commit afaf919a8c
Signed by: nezia
GPG key ID: EE3BE97C040A86CE

View file

@ -11,15 +11,22 @@
x11.enable = true; x11.enable = true;
}; };
gtk = { gtk = let
commonGtkConfig = {
gtk-decoration-layout = ":menu";
};
in {
enable = true; enable = true;
font = { font = {
name = "Inter"; name = "Inter";
package = pkgs.inter; package = pkgs.inter;
size = 9; size = 11;
}; };
gtk3.extraConfig = commonGtkConfig;
gtk4.extraConfig = commonGtkConfig;
gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc"; gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc";
iconTheme = { iconTheme = {