danth / stylix

System-wide colorscheming and typography for NixOS
https://stylix.danth.me/
MIT License
1.16k stars 143 forks source link

Gnome module doesn't set fonts #109

Closed lugeha closed 1 year ago

lugeha commented 1 year ago

I can't be bothered forking and creating a PR, but the GNOME HM module doesn't set fonts. This can lead to some theme incosistencies.

Adding something like this to modules/gnome/hm.nix is required.

dconf.settings = {
    "org/gnome/desktop/interface" = with config.stylix.fonts ; {
      font-name = "${sansSerif.name} ${toString sizes.applications}";
      document-font-name = "${serif.name}  ${toString (sizes.applications - 1)}";
      monospace-font-name = "${monospace.name} ${toString sizes.applications}";
    };
  };
lugeha commented 1 year ago

Had some free time, so... #116