stylix/modules/xfce/hm.nix
Daniel Thwaites 4380955949
Disable xfconf by default 🚑
Temporary fix for #180 until we find a better solution.
2023-11-01 13:33:42 +00:00

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}";
};
};
};
}