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;
|
enable = true;
|
||||||
defaultFonts = {
|
defaultFonts = {
|
||||||
monospace = [
|
monospace = [
|
||||||
"JetBrains Mono"
|
"JetBrainsMono Nerd Font"
|
||||||
"Noto Sans Mono CJK SC"
|
"Noto Sans Mono CJK SC"
|
||||||
"Noto Sans Mono"
|
"Noto Sans Mono"
|
||||||
"Noto Color Emoji"
|
"Noto Color Emoji"
|
||||||
|
@ -31,11 +31,10 @@
|
||||||
# with fonts.packages buy im too lazy to check
|
# with fonts.packages buy im too lazy to check
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
jetbrains-mono
|
jetbrains-mono
|
||||||
|
nerd-fonts.jetbrains-mono
|
||||||
noto-fonts
|
noto-fonts
|
||||||
noto-fonts-cjk-sans
|
noto-fonts-cjk-sans
|
||||||
noto-fonts-emoji
|
noto-fonts-emoji
|
||||||
noto-fonts-extra
|
noto-fonts-extra
|
||||||
nerd-fonts.fira-code
|
|
||||||
nerd-fonts.droid-sans-mono
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,7 +18,7 @@ in {
|
||||||
progress-color = "over #FFFFFF";
|
progress-color = "over #FFFFFF";
|
||||||
border-radius = 0;
|
border-radius = 0;
|
||||||
default-timeout = 7000;
|
default-timeout = 7000;
|
||||||
font = "JetBrains Mono 10";
|
font = "JetBrainsMono Nerd Font 10";
|
||||||
icons = true;
|
icons = true;
|
||||||
ignore-timeout = false;
|
ignore-timeout = false;
|
||||||
layer = "top";
|
layer = "top";
|
||||||
|
|
|
@ -62,7 +62,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
fonts = {
|
fonts = {
|
||||||
names = ["JetBrains Mono"];
|
names = ["JetBrainsMono Nerd Font"];
|
||||||
style = "Regular";
|
style = "Regular";
|
||||||
size = 8.0;
|
size = 8.0;
|
||||||
};
|
};
|
||||||
|
@ -136,7 +136,7 @@ in {
|
||||||
keybindings = let
|
keybindings = let
|
||||||
mod = config.wayland.windowManager.sway.config.modifier;
|
mod = config.wayland.windowManager.sway.config.modifier;
|
||||||
grimshot = getExe pkgs.sway-contrib.grimshot;
|
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
|
in
|
||||||
mkOptionDefault {
|
mkOptionDefault {
|
||||||
"${mod}+a" = "focus parent";
|
"${mod}+a" = "focus parent";
|
||||||
|
|
|
@ -48,16 +48,16 @@ in {
|
||||||
tooltip = false;
|
tooltip = false;
|
||||||
};
|
};
|
||||||
"cpu" = {
|
"cpu" = {
|
||||||
format = "cpu {usage}%";
|
format = " {usage}%";
|
||||||
tooltip = false;
|
tooltip = false;
|
||||||
};
|
};
|
||||||
"memory" = {
|
"memory" = {
|
||||||
format = "mem {percentage}%";
|
format = " {percentage}%";
|
||||||
tooltip = true;
|
tooltip = true;
|
||||||
tooltip-format = "{used}/{total}";
|
tooltip-format = "{used}/{total}";
|
||||||
};
|
};
|
||||||
"disk" = {
|
"disk" = {
|
||||||
format = "disk {specific_used:0.0f}/{specific_total:0.0f}";
|
format = " {specific_used:0.0f}/{specific_total:0.0f}";
|
||||||
unit = "GiB";
|
unit = "GiB";
|
||||||
tooltip = false;
|
tooltip = false;
|
||||||
};
|
};
|
||||||
|
@ -68,7 +68,7 @@ in {
|
||||||
};
|
};
|
||||||
style = ''
|
style = ''
|
||||||
* {
|
* {
|
||||||
font-family: "JetBrains Mono", monospace;
|
font-family: "JetBrainsMono Nerd Font", monospace;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
border: none;
|
border: none;
|
||||||
|
|
|
@ -15,6 +15,7 @@ in {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
theme = "macawCustom";
|
theme = "macawCustom";
|
||||||
|
font.size = 16;
|
||||||
preview.enabled = false;
|
preview.enabled = false;
|
||||||
sidebar = {
|
sidebar = {
|
||||||
buffer_action = "replace-pane";
|
buffer_action = "replace-pane";
|
||||||
|
|
|
@ -15,10 +15,10 @@ in {
|
||||||
settings = {
|
settings = {
|
||||||
main = {
|
main = {
|
||||||
term = "xterm-256color";
|
term = "xterm-256color";
|
||||||
font = "JetBrains Mono:style=Medium:size=15";
|
font = "JetBrainsMono Nerd Font:style=Medium:size=15";
|
||||||
font-bold = "JetBrains Mono:style=Bold:size=15";
|
font-bold = "JetBrainsMono Nerd Font:style=Bold:size=15";
|
||||||
font-italic = "JetBrains Mono:style=Italic:size=15";
|
font-italic = "JetBrainsMono Nerd Font:style=Italic:size=15";
|
||||||
font-bold-italic = "JetBrains Mono:style=Bold Italic:size=15";
|
font-bold-italic = "JetBrainsMono Nerd Font:style=Bold Italic:size=15";
|
||||||
dpi-aware = "yes";
|
dpi-aware = "yes";
|
||||||
initial-window-size-pixels = "1200x600";
|
initial-window-size-pixels = "1200x600";
|
||||||
};
|
};
|
||||||
|
|
|
@ -40,7 +40,7 @@ in {
|
||||||
};
|
};
|
||||||
autosave = "on_focus_change";
|
autosave = "on_focus_change";
|
||||||
auto_update = false;
|
auto_update = false;
|
||||||
buffer_font_family = "JetBrains Mono";
|
buffer_font_family = "JetBrainsMono Nerd Font";
|
||||||
buffer_font_size = 22;
|
buffer_font_size = 22;
|
||||||
hide_mouse = "never";
|
hide_mouse = "never";
|
||||||
minimap.show = "auto";
|
minimap.show = "auto";
|
||||||
|
|
|
@ -55,6 +55,7 @@ in {
|
||||||
|
|
||||||
fonts.packages = with pkgs; [
|
fonts.packages = with pkgs; [
|
||||||
jetbrains-mono
|
jetbrains-mono
|
||||||
|
nerd-fonts.jetbrains-mono
|
||||||
noto-fonts
|
noto-fonts
|
||||||
noto-fonts-cjk-sans
|
noto-fonts-cjk-sans
|
||||||
noto-fonts-emoji
|
noto-fonts-emoji
|
||||||
|
|
|
@ -26,7 +26,7 @@ in {
|
||||||
window {
|
window {
|
||||||
background-color: black;
|
background-color: black;
|
||||||
color: #eaeaea;
|
color: #eaeaea;
|
||||||
font-family: "JetBrains Mono", monospace;
|
font-family: "JetBrainsMono Nerd Font", monospace;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue