mirror of
https://github.com/danth/stylix
synced 2025-02-16 21:38:40 +00:00
19 lines
616 B
Nix
19 lines
616 B
Nix
{ pkgs, config, lib, ... }@args:
|
|
|
|
{
|
|
# Disabled by default due to https://github.com/danth/stylix/issues/180
|
|
options.stylix.targets.xfce.enable =
|
|
config.lib.stylix.mkEnableTarget "Xfce" false;
|
|
|
|
config = lib.mkIf config.stylix.targets.xfce.enable {
|
|
xfconf.settings = with config.stylix.fonts; {
|
|
xfwm4 = {
|
|
"general/title_font" = "${sansSerif.name} ${toString sizes.desktop}";
|
|
};
|
|
xsettings = {
|
|
"Gtk/FontName" = "${sansSerif.name} ${toString sizes.applications}";
|
|
"Gtk/MonospaceFontName" = "${monospace.name} ${toString sizes.applications}";
|
|
};
|
|
};
|
|
};
|
|
}
|