lib/types/fontType: Add size attribute (#1848)
* lib/types: Add size attribute to fontType * tests: Add test for kitty * modules/types/fontType: Make size nullable * Add release notes Co-authored-by: Sebastian Zivota <sebastian.zivota@mailbox.org>
This commit is contained in:
parent
cc60c22c69
commit
33edf558a0
8 changed files with 83 additions and 5 deletions
|
|
@ -79,7 +79,11 @@ in {
|
|||
# Generated by Home Manager.
|
||||
# See https://sw.kovidgoyal.net/kitty/conf.html
|
||||
|
||||
${optionalString (cfg.font != null) "font_family ${cfg.font.name}"}
|
||||
${optionalString (cfg.font != null) ''
|
||||
font_family ${cfg.font.name}
|
||||
${optionalString (cfg.font.size != null)
|
||||
"font_size ${toString cfg.font.size}"}
|
||||
''}
|
||||
|
||||
${toKittyConfig cfg.settings}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue