2024-10-03 09:17:23 +00:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
config,
|
2024-10-06 15:48:46 +00:00
|
|
|
nixosConfig,
|
2024-10-03 09:17:23 +00:00
|
|
|
...
|
|
|
|
}: {
|
|
|
|
home.pointerCursor = {
|
2024-10-06 15:48:46 +00:00
|
|
|
inherit (nixosConfig.style.cursorTheme) name package size;
|
2024-10-03 09:17:23 +00:00
|
|
|
gtk.enable = true;
|
|
|
|
x11.enable = true;
|
|
|
|
};
|
|
|
|
|
2024-10-06 13:57:20 +00:00
|
|
|
gtk = let
|
|
|
|
commonGtkConfig = {
|
|
|
|
gtk-decoration-layout = ":menu";
|
|
|
|
};
|
|
|
|
in {
|
2024-10-03 09:17:23 +00:00
|
|
|
enable = true;
|
|
|
|
|
|
|
|
font = {
|
|
|
|
name = "Inter";
|
|
|
|
package = pkgs.inter;
|
2024-10-06 13:57:20 +00:00
|
|
|
size = 11;
|
2024-10-03 09:17:23 +00:00
|
|
|
};
|
|
|
|
|
2024-10-06 13:57:20 +00:00
|
|
|
gtk3.extraConfig = commonGtkConfig;
|
|
|
|
gtk4.extraConfig = commonGtkConfig;
|
|
|
|
|
2024-10-03 09:17:23 +00:00
|
|
|
gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc";
|
|
|
|
|
|
|
|
iconTheme = {
|
2024-10-06 15:48:46 +00:00
|
|
|
inherit (nixosConfig.style.gtk.iconTheme) name package;
|
2024-10-03 09:17:23 +00:00
|
|
|
};
|
|
|
|
|
2024-10-06 15:48:46 +00:00
|
|
|
theme = {
|
|
|
|
inherit (nixosConfig.style.gtk.theme) name package;
|
2024-10-03 09:17:23 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|