Skip to content

Commit

Permalink
xresources: convert font size to a string
Browse files Browse the repository at this point in the history
A hack necessary because of a home-manager limitation. It works because
numbers and strings are serialized the same way for .Xresources. It
should be reverted after this issue is addressed upstream.

(cherry picked from commit aec7be4)
  • Loading branch information
musjj authored and github-actions[bot] committed Jan 4, 2025
1 parent 4a60eb8 commit 2f12ba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/xresources/hm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
config = lib.mkIf (config.stylix.enable && config.stylix.targets.xresources.enable) {
xresources.properties = with config.lib.stylix.colors.withHashtag; with config.stylix.fonts; {
"*.faceName" = monospace.name;
"*.faceSize" = sizes.terminal;
"*.faceSize" = toString sizes.terminal;
"*.renderFont" = true;
"*foreground" = base05;
"*background" = base00;
Expand Down

0 comments on commit 2f12ba6

Please sign in to comment.