Switch to pre-packaged Iosevka Nerd Font for now so I can use the Propo variant

This commit is contained in:
Evie Litherland-Smith 2024-10-30 07:46:58 +00:00
parent 0f0b82837b
commit 6477e0c054
2 changed files with 85 additions and 102 deletions

View file

@ -232,8 +232,8 @@
name = inputs.iosevka-custom.outputs.names.iosevka-custom-aile; name = inputs.iosevka-custom.outputs.names.iosevka-custom-aile;
}; };
monospace = { monospace = {
package = inputs.iosevka-custom.outputs.packages.${pkgs.system}.iosevka-custom-nerdfont; package = pkgs.nerdfonts.override { fonts = [ "Iosevka" ]; };
name = inputs.iosevka-custom.outputs.names.iosevka-custom-nerdfont; name = "Iosevka Nerd Font Propo";
}; };
sizes = { sizes = {
applications = 12; applications = 12;
@ -243,27 +243,10 @@
}; };
}; };
}; };
fonts = { fonts.packages = with pkgs; [
packages = dejavu_fonts # General compatibility
(with config.stylix.fonts; [ liberation_ttf # Documents
serif.package lmodern # LaTeX
sansSerif.package (nerdfonts.override { fonts = [ "NerdFontsSymbolsOnly" ]; })
monospace.package ];
emoji.package
])
++ (with pkgs; [
liberation_ttf # General compatibility
lmodern # LaTeX
(nerdfonts.override { fonts = [ "NerdFontsSymbolsOnly" ]; })
]);
fontconfig = {
enable = true;
defaultFonts = with config.stylix.fonts; {
serif = [ serif.name ];
sansSerif = [ sansSerif.name ];
monospace = [ monospace.name ];
emoji = [ emoji.name ];
};
};
};
} }

View file

@ -36,14 +36,14 @@
"hyprland/workspaces" = { "hyprland/workspaces" = {
format = "{icon}"; format = "{icon}";
format-icons = { format-icons = {
"1" = "󰫃 "; "1" = "󰫃";
"2" = "󰫄 "; "2" = "󰫄";
"3" = "󰫅 "; "3" = "󰫅";
"4" = "󰫆 "; "4" = "󰫆";
"5" = "󰫇 "; "5" = "󰫇";
"6" = "󰫈 "; "6" = "󰫈";
default = "󰋙 "; default = "󰋙";
urgent = "󰁡 "; urgent = "󰁡";
}; };
all-outputs = false; all-outputs = false;
persistent-workspaces = { persistent-workspaces = {
@ -59,29 +59,29 @@
"format" = "{title}"; "format" = "{title}";
"max-length" = 50; "max-length" = 50;
"rewrite" = { "rewrite" = {
"(.*) - GNU Emacs at (.*)" = " $1 [$2]"; "(.*) - GNU Emacs at (.*)" = " $1 [$2]";
"(alacritty.*)" = " $1"; "(alacritty.*)" = " $1";
"(.*) - mpv" = "󰦟 $1"; "(.*) - mpv" = "󰦟 $1";
"swayimg: (.*)" = "󰋩 $1"; "swayimg: (.*)" = "󰋩 $1";
"swappy" = "󰹑 swappy"; "swappy" = "󰹑 swappy";
"(?:/nix/.*)(btm)" = " Resource Usage [$1]"; "(?:/nix/.*)(btm)" = " Resource Usage [$1]";
"(?:/nix/.*)(cava)" = "󰝚 Music Visualiser [$1]"; "(?:/nix/.*)(cava)" = "󰝚 Music Visualiser [$1]";
"Mozilla Firefox" = "󰈹 $1"; "Mozilla Firefox" = "󰈹 $1";
"(.*) Mozilla Firefox" = "󰈹 $1"; "(.*) Mozilla Firefox" = "󰈹 $1";
"Nyxt - (.*)" = "󰀹 $1"; "Nyxt - (.*)" = "󰀹 $1";
"(.*) - Chromium" = "󰊯 $1"; "(.*) - Chromium" = "󰊯 $1";
"(Signal.*)" = "󰭹 $1"; "(Signal.*)" = "󰭹 $1";
"(WhatsApp for Linux.*)" = "󰖣 $1"; "(WhatsApp for Linux.*)" = "󰖣 $1";
"((?:.*)WebCord.*)" = "󰙯 $1"; "((?:.*)WebCord.*)" = "󰙯 $1";
"(Cartridges.*)" = "󰊗 $1"; "(Cartridges.*)" = "󰊗 $1";
"([Ss]team.*)" = "󰓓 $1"; "([Ss]team.*)" = "󰓓 $1";
"(Prism Launcher.*)" = "󰍳 Minecraft ($1)"; "(Prism Launcher.*)" = "󰍳 Minecraft ($1)";
"(.*)(?: *)PrusaSlicer-(.*)" = "󰐫 $1 PrusaSlicer ($2)"; "(.*)(?: *)PrusaSlicer-(.*)" = "󰐫 $1 PrusaSlicer ($2)";
"(.*)(?: *)PrusaSlicer G-code Viewer-(.*)" = "󰹛 $1 G-code Viewer ($2)"; "(.*)(?: *)PrusaSlicer G-code Viewer-(.*)" = "󰹛 $1 G-code Viewer ($2)";
"FreeCAD (.*)" = "󰻬 FreeCAD $1"; "FreeCAD (.*)" = "󰻬 FreeCAD $1";
"(.*) - Blender.* " = "󰂫 $1"; "(.*) - Blender.* " = "󰂫 $1";
"(Remmina Remote Desktop Client)" = "󰢹 $1"; "(Remmina Remote Desktop Client)" = "󰢹 $1";
"(NoMachine|Nxplayer.bin)(?: *)(.*)" = "󰢹 $1 $2"; "(NoMachine|Nxplayer.bin)(?: *)(.*)" = "󰢹 $1 $2";
}; };
}; };
mpris = { mpris = {
@ -97,8 +97,8 @@
"length" "length"
]; ];
"player-icons" = { "player-icons" = {
"default" = "󰲸 "; "default" = "󰲸";
"firefox" = "󰈹 "; "firefox" = "󰈹";
}; };
"status-icons" = { "status-icons" = {
"playing" = "󰐊"; "playing" = "󰐊";
@ -109,22 +109,22 @@
}; };
pulseaudio = { pulseaudio = {
scroll-step = 5; scroll-step = 5;
format = "{format_source}{icon}{volume}%"; format = "{format_source} {icon} {volume}%";
format-muted = "{format_source} 󰝟 "; format-muted = "{format_source} 󰝟";
format-source = "󰍬 "; format-source = "󰍬";
format-source-muted = "󰍭 "; format-source-muted = "󰍭";
format-icons = { format-icons = {
car = "󰄍 "; car = "󰄍";
default = [ default = [
"󰕿 " "󰕿"
"󰖀 " "󰖀"
"󰕾 " "󰕾"
]; ];
hands-free = "󰥰 "; hands-free = "󰥰";
headset = "󰋎 "; headset = "󰋎";
phone = "󰏲 "; phone = "󰏲";
portable = "󰏳 "; portable = "󰏳";
headphone = "󰋋 "; headphone = "󰋋";
}; };
on-click = "${pkgs.pavucontrol}/bin/pavucontrol"; on-click = "${pkgs.pavucontrol}/bin/pavucontrol";
on-click-right = "${pkgs.pamixer}/bin/pamixer -t"; on-click-right = "${pkgs.pamixer}/bin/pamixer -t";
@ -153,15 +153,15 @@
}; };
network = { network = {
format-icons = [ format-icons = [
"󰤟 " "󰤟"
"󰤢 " "󰤢"
"󰤥 " "󰤥"
"󰤨 " "󰤨"
]; ];
format-wifi = "{icon}"; format-wifi = "{icon}";
format-ethernet = "󰈁 "; format-ethernet = "󰈁";
format-linked = "󰈂 "; format-linked = "󰈂";
format-disconnected = "󰈂 "; format-disconnected = "󰈂";
tooltip-format = "{essid} ({signalStrength}%)"; tooltip-format = "{essid} ({signalStrength}%)";
on-click = "${pkgs.networkmanagerapplet}/bin/nm-connection-editor"; on-click = "${pkgs.networkmanagerapplet}/bin/nm-connection-editor";
}; };
@ -205,15 +205,15 @@
format = "{icon}"; format = "{icon}";
tooltip-format = "{percent}%"; tooltip-format = "{percent}%";
format-icons = [ format-icons = [
" " ""
" " ""
" " ""
" " ""
" " ""
" " ""
" " ""
" " ""
" " ""
]; ];
}; };
battery = { battery = {
@ -224,28 +224,28 @@
format = "{icon}"; format = "{icon}";
format-time = "{H}:{m}"; format-time = "{H}:{m}";
format-charging = "󰂄 ({time})"; format-charging = "󰂄 ({time})";
format-plugged = "󰚥 "; format-plugged = "󰚥";
format-warning = "{icon}{capacity}%"; format-warning = "{icon}{capacity}%";
format-critical = "{icon}{capacity}% ({time})"; format-critical = "{icon}{capacity}% ({time})";
tooltip-format = "{capacity}% | {power}W | {time}"; tooltip-format = "{capacity}% | {power}W | {time}";
format-icons = [ format-icons = [
"󱃍 " "󱃍"
"󰁺 " "󰁺"
"󰁻 " "󰁻"
"󰁼 " "󰁼"
"󰁽 " "󰁽"
"󰁾 " "󰁾"
"󰁿 " "󰁿"
"󰂀 " "󰂀"
"󰂁 " "󰂁"
"󰂂 " "󰂂"
"󰁹 " "󰁹"
]; ];
}; };
"systemd-failed-units" = { "systemd-failed-units" = {
hide-on-ok = false; hide-on-ok = false;
format = "󰀦 S:{nr_failed_system} U:{nr_failed_user}"; format = "󰀦 S:{nr_failed_system} U:{nr_failed_user}";
format-ok = "󰄬 "; format-ok = "󰄬";
system = true; system = true;
user = true; user = true;
}; };
@ -255,7 +255,7 @@
jq = "${pkgs.jq}/bin/jq"; jq = "${pkgs.jq}/bin/jq";
in in
{ {
exec = "( ${makoctl} list | ${jq} -e '.data[] | length > 0' >/dev/null && echo '󱅫 ' ) || echo '󰂚 ' "; exec = "( ${makoctl} list | ${jq} -e '.data[] | length > 0' >/dev/null && echo '󱅫' ) || echo '󰂚' ";
format = "{}"; format = "{}";
on-click = "${makoctl} dismiss -a"; on-click = "${makoctl} dismiss -a";
interval = 3; interval = 3;