home: upgrade fonts to nerdfonts
This commit is contained in:
parent
f03b8d39db
commit
00c44ba7ed
9 changed files with 17 additions and 16 deletions
|
@ -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
|
||||
];
|
||||
}
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -15,6 +15,7 @@ in {
|
|||
enable = true;
|
||||
settings = {
|
||||
theme = "macawCustom";
|
||||
font.size = 16;
|
||||
preview.enabled = false;
|
||||
sidebar = {
|
||||
buffer_action = "replace-pane";
|
||||
|
|
|
@ -15,10 +15,10 @@ in {
|
|||
settings = {
|
||||
main = {
|
||||
term = "xterm-256color";
|
||||
font = "JetBrains Mono:style=Medium:size=15";
|
||||
font-bold = "JetBrains Mono:style=Bold:size=15";
|
||||
font-italic = "JetBrains Mono:style=Italic:size=15";
|
||||
font-bold-italic = "JetBrains Mono:style=Bold Italic:size=15";
|
||||
font = "JetBrainsMono Nerd Font:style=Medium:size=15";
|
||||
font-bold = "JetBrainsMono Nerd Font:style=Bold:size=15";
|
||||
font-italic = "JetBrainsMono Nerd Font:style=Italic:size=15";
|
||||
font-bold-italic = "JetBrainsMono Nerd Font:style=Bold Italic:size=15";
|
||||
dpi-aware = "yes";
|
||||
initial-window-size-pixels = "1200x600";
|
||||
};
|
||||
|
|
|
@ -40,7 +40,7 @@ in {
|
|||
};
|
||||
autosave = "on_focus_change";
|
||||
auto_update = false;
|
||||
buffer_font_family = "JetBrains Mono";
|
||||
buffer_font_family = "JetBrainsMono Nerd Font";
|
||||
buffer_font_size = 22;
|
||||
hide_mouse = "never";
|
||||
minimap.show = "auto";
|
||||
|
|
|
@ -55,6 +55,7 @@ in {
|
|||
|
||||
fonts.packages = with pkgs; [
|
||||
jetbrains-mono
|
||||
nerd-fonts.jetbrains-mono
|
||||
noto-fonts
|
||||
noto-fonts-cjk-sans
|
||||
noto-fonts-emoji
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue