fix(fonts): actually use monospace font
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2025-03-11 21:07:56 -04:00
parent 85035da7a1
commit 64ed35b347
3 changed files with 10 additions and 10 deletions

View file

@ -15,7 +15,7 @@ in {
format = concatStrings [
""
"[](fg:${cfg.promptColors.firstColor})"
"[ ](bg:${cfg.promptColors.firstColor} fg:#090c0c)"
"[ ](bg:${cfg.promptColors.firstColor} fg:#090c0c)"
"[](bg:${cfg.promptColors.secondColor} fg:${cfg.promptColors.firstColor})"
"$username$hostname"
"[](fg:${cfg.promptColors.secondColor} bg:${cfg.promptColors.thirdColor})"
@ -46,10 +46,10 @@ in {
truncation_length = 0;
substitutions = {
"Documents" = "󰈙 ";
"Downloads" = " ";
"Music" = " ";
"Pictures" = " ";
"Documents" = "󰈙";
"Downloads" = "";
"Music" = "";
"Pictures" = "";
};
};
@ -63,8 +63,8 @@ in {
disabled = false;
threshold = 2;
symbol = "󰔳 ";
format = "[ $symbol]($style)";
symbol = " 󰔳";
format = "[$symbol]($style)";
repeat = true;
repeat_offset = 1;

View file

@ -12,9 +12,10 @@ in {
fonts = {
fontconfig = {
enable = true;
defaultFonts = {
emoji = ["Noto Color Emoji"];
monospace = ["JetBrainsMono Nerd Font"];
monospace = ["JetBrainsMono Nerd Font Mono"];
sansSerif = ["Noto Nerd Font"];
serif = ["Noto Nerd Font"];
};

View file

@ -20,7 +20,7 @@ in {
fontDpi = mkOption {
type = types.numbers.nonnegative;
default = 170;
default = 130;
};
};
@ -29,7 +29,6 @@ in {
useXkbConfig = true;
hwRender = false;
# TODO: https://github.com/Aetf/kmscon/issues/18 find workaround with more spaces?
extraOptions = concatStringsSep " " [
"--font-size ${toString cfg.fontSize}"
"--font-dpi ${toString cfg.fontDpi}"