feat: disable italic fonts in terminal
This commit is contained in:
parent
e51b221ef3
commit
3f5ced7b59
1 changed files with 4 additions and 3 deletions
|
@ -4,15 +4,16 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
server.enable = true;
|
server.enable = true;
|
||||||
|
|
||||||
settings =
|
settings = let
|
||||||
let
|
|
||||||
theme = import ../theme.nix;
|
theme = import ../theme.nix;
|
||||||
dehash = lib.attrsets.mapAttrs (_: v: lib.strings.removePrefix "#" v);
|
dehash = lib.attrsets.mapAttrs (_: lib.strings.removePrefix "#");
|
||||||
normal = dehash theme.normal;
|
normal = dehash theme.normal;
|
||||||
bright = dehash theme.bright;
|
bright = dehash theme.bright;
|
||||||
in {
|
in {
|
||||||
main = {
|
main = {
|
||||||
font = "${theme.font.family}:size=${toString (theme.font.size - 2)}";
|
font = "${theme.font.family}:size=${toString (theme.font.size - 2)}";
|
||||||
|
font-italic = "${theme.font.family}:size=${toString (theme.font.size - 2)}";
|
||||||
|
font-bold-italic = "${theme.font.family}:style=Bold:size=${toString (theme.font.size - 2)}";
|
||||||
pad = "${toString theme.font.size}x${toString theme.font.size}";
|
pad = "${toString theme.font.size}x${toString theme.font.size}";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue