2024-09-09 00:22:14 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
2024-09-13 01:50:53 +00:00
|
|
|
with lib; let
|
2024-09-09 00:22:14 +00:00
|
|
|
cfg = config.custom.settings.gtk;
|
2024-09-13 01:50:53 +00:00
|
|
|
in {
|
|
|
|
options.custom.settings.gtk.enable = mkOption {default = false;};
|
2024-09-09 00:22:14 +00:00
|
|
|
|
|
|
|
config.home-manager.users.${config.custom.username} = mkIf cfg.enable {
|
|
|
|
home.pointerCursor = {
|
|
|
|
gtk.enable = true; # Propagate attributes to gtk.cursorTheme
|
|
|
|
size = 24;
|
|
|
|
name = "GoogleDot-Black";
|
|
|
|
package = pkgs.google-cursor;
|
|
|
|
};
|
|
|
|
|
|
|
|
gtk = {
|
|
|
|
enable = true;
|
|
|
|
gtk3.extraCss = builtins.readFile ./style.css;
|
|
|
|
|
|
|
|
gtk4 = {
|
|
|
|
extraConfig.gtk-hint-font-metrics = 1; # Fix blurry fonts
|
|
|
|
extraCss = builtins.readFile ./style.css;
|
|
|
|
};
|
|
|
|
|
|
|
|
font = {
|
2024-09-21 15:47:31 +00:00
|
|
|
name = config.custom.font.sans-serif;
|
2024-09-09 00:22:14 +00:00
|
|
|
size = 12;
|
|
|
|
};
|
|
|
|
|
|
|
|
iconTheme = {
|
|
|
|
name = "Papirus-Dark";
|
|
|
|
package = pkgs.papirus-icon-theme;
|
|
|
|
};
|
|
|
|
|
|
|
|
theme = {
|
|
|
|
name = "adw-gtk3-dark";
|
|
|
|
#// package = pkgs.adw-gtk3;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|