1
0
Fork 0
forked from fabian/nix

home: upgrade fonts to nerdfonts

This commit is contained in:
Fabian Montero 2025-09-12 15:23:41 -06:00 committed by chem
parent 4136bfe92d
commit 9dc0624398
7 changed files with 23 additions and 13 deletions

View file

@ -8,7 +8,7 @@
enable = true;
defaultFonts = {
monospace = [
"JetBrains Mono"
"JetBrainsMono Nerd Font"
"Noto Sans Mono CJK SC"
"Noto Sans Mono"
"Noto Color Emoji"
@ -31,11 +31,10 @@
# with fonts.packages buy im too lazy to check
home.packages = with pkgs; [
jetbrains-mono
nerd-fonts.jetbrains-mono
noto-fonts
noto-fonts-cjk-sans
noto-fonts-emoji
noto-fonts-extra
nerd-fonts.fira-code
nerd-fonts.droid-sans-mono
];
}

View file

@ -18,7 +18,7 @@ in {
progress-color = "over #FFFFFF";
border-radius = 0;
default-timeout = 7000;
font = "JetBrains Mono 10";
font = "JetBrainsMono Nerd Font 10";
icons = true;
ignore-timeout = false;
layer = "top";

View file

@ -62,7 +62,7 @@ in {
};
fonts = {
names = ["JetBrains Mono"];
names = ["JetBrainsMono Nerd Font"];
style = "Regular";
size = 8.0;
};
@ -136,7 +136,7 @@ in {
keybindings = let
mod = config.wayland.windowManager.sway.config.modifier;
grimshot = getExe pkgs.sway-contrib.grimshot;
bemenuCommand = ''bemenu-run --center --width-factor 0.2 --fixed-height --list 10 --scrollbar none --auto-select --accept-single --fn "JetBrains Mono 12" --prompt "" --tb "#000000" --tf "#EAEAEA" --fb "#000000" --ff "#EAEAEA" --cb "#EAEAEA" --cf "#000000" --nb "#000000" --nf "#EAEAEA" --sb "#000000" --sf "#EAEAEA" --hb "#000000" --hf "#EAEAEA" --fbb "#000000" --fbf "#000000" --ab "#000000" --af "#EAEAEA"'';
bemenuCommand = ''bemenu-run --center --width-factor 0.2 --fixed-height --list 10 --scrollbar none --auto-select --accept-single --fn "JetBrainsMono Nerd Font 12" --prompt "" --tb "#000000" --tf "#EAEAEA" --fb "#000000" --ff "#EAEAEA" --cb "#EAEAEA" --cf "#000000" --nb "#000000" --nf "#EAEAEA" --sb "#000000" --sf "#EAEAEA" --hb "#000000" --hf "#EAEAEA" --fbb "#000000" --fbf "#000000" --ab "#000000" --af "#EAEAEA"'';
in
mkOptionDefault {
"${mod}+a" = "focus parent";

View file

@ -48,16 +48,16 @@ in {
tooltip = false;
};
"cpu" = {
format = "cpu {usage}%";
format = " {usage}%";
tooltip = false;
};
"memory" = {
format = "mem {percentage}%";
format = " {percentage}%";
tooltip = true;
tooltip-format = "{used}/{total}";
};
"disk" = {
format = "disk {specific_used:0.0f}/{specific_total:0.0f}";
format = " {specific_used:0.0f}/{specific_total:0.0f}";
unit = "GiB";
tooltip = false;
};
@ -68,7 +68,7 @@ in {
};
style = ''
* {
font-family: "JetBrains Mono", monospace;
font-family: "JetBrainsMono Nerd Font", monospace;
font-size: 12px;
font-weight: 500;
border: none;

View file

@ -40,8 +40,8 @@ in {
};
autosave = "on_focus_change";
auto_update = false;
buffer_font_family = "JetBrains Mono";
buffer_font_size = 16;
buffer_font_family = "JetBrainsMono Nerd Font";
buffer_font_size = 22;
hide_mouse = "never";
minimap.show = "auto";
tabs = {

View file

@ -53,6 +53,17 @@ in {
];
};
fonts.packages = with pkgs; [
jetbrains-mono
nerd-fonts.jetbrains-mono
noto-fonts
noto-fonts-cjk-sans
noto-fonts-emoji
noto-fonts-extra
nerd-fonts.fira-code
nerd-fonts.droid-sans-mono
];
services = {
openssh.enable = mkDefault true;

View file

@ -26,7 +26,7 @@ in {
window {
background-color: black;
color: #eaeaea;
font-family: "JetBrains Mono", monospace;
font-family: "JetBrainsMono Nerd Font", monospace;
font-size: 14px;
}