Add theme font, icon options

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2024-07-03 20:20:16 +03:00
parent 4da4cee839
commit 4f3cedefa6
11 changed files with 156 additions and 20 deletions

View File

@@ -13,12 +13,23 @@ in
name = "adw-gtk3-dark";
};
font = {
name = builtins.head hmConfig.theme.font.sansSerif.names;
package = builtins.head hmConfig.theme.font.sansSerif.packages;
inherit (hmConfig.theme.font) size;
};
iconTheme = {
name = builtins.head hmConfig.theme.icon.names;
package = builtins.head hmConfig.theme.icon.packages;
};
gtk2.configLocation = "${hmConfig.xdg.configHome}/gtk-2.0/gtkrc";
gtk3.extraCss = "@import './theme.css';";
gtk4.extraCss = "@import './theme.css';";
};
home.packages = with pkgs; [ nixos-icons ];
home.pointerCursor.gtk.enable = true;
programs.matugen.settings.templates = {
gtk3 = {