mirror of
https://github.com/danth/stylix
synced 2025-02-16 13:28:35 +00:00
qutebrowser: use correct fonts.web.size.default
type (#239)
* fix(modules/qutebrowser): use correct 'fonts.web.size.default' type Use the correct 'fonts.web.size.default' type to avoid the following error: > Errors occurred while reading config.py: > While setting 'fonts.web.size.default': Invalid value '10pt' - > expected a value of type int but got str. Reference: https://qutebrowser.org/doc/help/settings.html#fonts.web.size.default Follows: https://github.com/danth/stylix/pull/221 * fix(modules/qutebrowser): convert 'point' unit to 'pixel' unit Addresses: https://github.com/danth/stylix/pull/239#issuecomment-1931788095 Requires: https://github.com/danth/stylix/issues/251
This commit is contained in:
parent
a2d8d6b460
commit
9942fca870
1 changed files with 2 additions and 1 deletions
|
@ -215,7 +215,8 @@ in {
|
|||
serif = serif.name;
|
||||
standard = sansSerif.name;
|
||||
};
|
||||
web.size.default = "${toString sizes.applications}pt";
|
||||
# TODO: Use the pixel unit: https://github.com/danth/stylix/issues/251.
|
||||
web.size.default = builtins.floor (sizes.applications * 4 / 3 + 0.5);
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue