Skip to content

Commit

Permalink
feat(sway): Add fallback fonts support
Browse files Browse the repository at this point in the history
  • Loading branch information
jalil-salame committed Dec 10, 2023
1 parent 21e22cf commit 002d51a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions modules/sway/hm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ let
focused = base0A;
unfocused = base03;

fonts = {
names = [ config.stylix.fonts.sansSerif.name ];
size = config.stylix.fonts.sizes.desktop + 0.0;
fonts = let fonts = config.stylix.fonts; in {
names = [ fonts.sansSerif.name ]
++ fonts.sansSerif.fallbackFonts;
size = fonts.sizes.desktop + 0.0;
};

in {
Expand Down

0 comments on commit 002d51a

Please sign in to comment.