nixconfig/home/gui/theme/default.nix
2023-05-21 16:46:18 +02:00

41 lines
706 B
Nix

{
pkgs,
inputs,
config,
...
}:
let
gtkThemeFromScheme = import ./gtk-theme-gen.nix { inherit pkgs; };
nix-colors-lib-contrib = inputs.nix-colors.lib-contrib { inherit pkgs; };
in
{
home.pointerCursor = {
package = pkgs.bibata-cursors;
name = "Bibata-Modern-Classic";
size = 24;
gtk.enable = true;
x11.enable = true;
};
gtk = {
enable = true;
theme = {
name = "${config.colorscheme.slug}";
package = gtkThemeFromScheme {
scheme = config.colorScheme;
};
};
iconTheme = {
name = "Tela-Circle";
package = pkgs.tela-circle-icon-theme;
};
};
qt = {
enable = true;
platformTheme = "gtk";
};
}