2023-09-15 14:53:38 +00:00
|
|
|
{ config, pkgs, inputs, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
inherit (inputs.nix-colors.lib-contrib { inherit pkgs; }) gtkThemeFromScheme;
|
|
|
|
in
|
|
|
|
rec {
|
|
|
|
gtk = {
|
|
|
|
enable = true;
|
|
|
|
font = {
|
|
|
|
name = config.fontProfiles.regular.family;
|
2023-09-24 18:39:34 +00:00
|
|
|
size = 14;
|
2023-09-15 14:53:38 +00:00
|
|
|
};
|
|
|
|
theme = {
|
|
|
|
name = "${config.colorscheme.slug}";
|
|
|
|
package = gtkThemeFromScheme { scheme = config.colorscheme; };
|
|
|
|
};
|
|
|
|
iconTheme = {
|
|
|
|
name = "Papirus";
|
|
|
|
package = pkgs.papirus-icon-theme;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
services.xsettingsd = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
"Net/ThemeName" = "${gtk.theme.name}";
|
|
|
|
"Net/IconThemeName" = "${gtk.iconTheme.name}";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|