From 8eea8f21730534cbf51e16d0ef54833bd56233b2 Mon Sep 17 00:00:00 2001
From: John Bernard <38332081+loqusion@users.noreply.github.com>
Date: Fri, 24 Nov 2023 15:59:11 -0600
Subject: [PATCH] fix: nerd font renames
See ryanoasis/nerd-fonts#1434
---
.config/alacritty/alacritty.toml | 6 +++---
.config/eww/apatheia/audio.scss | 2 +-
.config/eww/apatheia/eww.scss | 6 +++---
.config/eww/apatheia/system.scss | 2 +-
.config/fontconfig/conf.d/39-Aliases.conf | 8 ++++----
.config/fuzzel/fuzzel.ini | 2 +-
.config/nvim/lua/config/neovide.lua | 4 ++--
.config/qt6ct/qt6ct.conf | 2 +-
.config/rofi/config/bluetooth.rasi | 2 +-
.config/rofi/config/launcher.rasi | 2 +-
.config/rofi/config/mpd.rasi | 2 +-
.config/rofi/config/network.rasi | 2 +-
.config/rofi/config/networkmenu.rasi | 2 +-
.config/rofi/config/powermenu.rasi | 2 +-
.config/rofi/config/runner.rasi | 2 +-
.config/rofi/config/screenshot.rasi | 2 +-
.config/waybar/minimal/style.css | 4 +++-
.config/waybar/minimal/style.scss | 4 +++-
.config/waybar/poiesis/style.css | 4 +++-
.config/waybar/poiesis/style.scss | 4 +++-
.config/wezterm/font.lua | 2 +-
21 files changed, 37 insertions(+), 29 deletions(-)
diff --git a/.config/alacritty/alacritty.toml b/.config/alacritty/alacritty.toml
index de707bb7..3cca6b19 100644
--- a/.config/alacritty/alacritty.toml
+++ b/.config/alacritty/alacritty.toml
@@ -14,17 +14,17 @@ builtin_box_drawing = true
[font.normal]
# family = "Maple Mono SC NF"
-family = "JetBrainsMono Nerd Font"
+family = "JetBrainsMono NF"
[font.italic]
style = "Italic"
family = "Maple Mono SC NF"
-# family = "VictorMono Nerd Font"
+# family = "VictorMono NF"
[font.bold_italic]
style = "Bold Italic"
family = "Maple Mono SC NF"
-# family = "VictorMono Nerd Font"
+# family = "VictorMono NF"
[cursor]
style.blinking = "On"
diff --git a/.config/eww/apatheia/audio.scss b/.config/eww/apatheia/audio.scss
index 9685aef1..1797508d 100644
--- a/.config/eww/apatheia/audio.scss
+++ b/.config/eww/apatheia/audio.scss
@@ -111,7 +111,7 @@
font-size: 35px;
font-weight: bold;
margin: 0px 0px 0px 0px;
- font-family: Furamono Nerd Font;
+ font-family: Furamono NF;
}
.label_stat {
diff --git a/.config/eww/apatheia/eww.scss b/.config/eww/apatheia/eww.scss
index 056f9ed7..3bde647a 100644
--- a/.config/eww/apatheia/eww.scss
+++ b/.config/eww/apatheia/eww.scss
@@ -1,6 +1,6 @@
-$font-family-primary: "JetBrainsMono Nerd Font";
-$font-family-secondary: "Inter Nerd Font";
-$font-family-tertiary: "Mononoki Nerd Font";
+$font-family-primary: "JetBrainsMono NF";
+$font-family-secondary: "Inter NF";
+$font-family-tertiary: "Mononoki NF";
$spacing-1: 15px;
diff --git a/.config/eww/apatheia/system.scss b/.config/eww/apatheia/system.scss
index daefa1dd..95f2820d 100644
--- a/.config/eww/apatheia/system.scss
+++ b/.config/eww/apatheia/system.scss
@@ -92,7 +92,7 @@
// .stats-icon {
// font-size: 28px;
// color: $color-red;
-// font-family: JetBrainsMono Nerd Font Mono;
+// font-family: JetBrainsMono NFM;
// }
scale trough {
diff --git a/.config/fontconfig/conf.d/39-Aliases.conf b/.config/fontconfig/conf.d/39-Aliases.conf
index 548ff983..4d1275d2 100644
--- a/.config/fontconfig/conf.d/39-Aliases.conf
+++ b/.config/fontconfig/conf.d/39-Aliases.conf
@@ -86,9 +86,9 @@
- JetBrainsMono Nerd Font
+ JetBrainsMono NF
- JetBrainsMono Nerd Font
+ JetBrainsMono NF
Noto Sans Mono CJK JP
Twemoji
@@ -104,9 +104,9 @@
- VictorMono Nerd Font
+ VictorMono NF
- VictorMono Nerd Font
+ VictorMono NF
Noto Sans Mono CJK JP
Twemoji
diff --git a/.config/fuzzel/fuzzel.ini b/.config/fuzzel/fuzzel.ini
index 86014350..bfd89382 100644
--- a/.config/fuzzel/fuzzel.ini
+++ b/.config/fuzzel/fuzzel.ini
@@ -1,5 +1,5 @@
[main]
-font=FantasqueSansM Nerd Font:style=Regular:size=15,Twemoji
+font=Fantasque Sans Mono:style=Regular:size=15,Twemoji
icon-theme=Papirus
fields=filename,name,generic
show-actions=no
diff --git a/.config/nvim/lua/config/neovide.lua b/.config/nvim/lua/config/neovide.lua
index 4d48cb63..22442692 100644
--- a/.config/nvim/lua/config/neovide.lua
+++ b/.config/nvim/lua/config/neovide.lua
@@ -2,8 +2,8 @@ local style = require("config.style")
local g = vim.g
local opt = vim.opt
-local normal_font = "JetBrainsMono Nerd Font:h14"
-local italic_font = "VictorMono Nerd Font"
+local normal_font = "JetBrainsMono NF:h14"
+local italic_font = "VictorMono NF"
local function alpha()
return string.format("%x", math.floor((255 * g.transparency) or 0.8))
diff --git a/.config/qt6ct/qt6ct.conf b/.config/qt6ct/qt6ct.conf
index 8dda3389..b9dc4c28 100644
--- a/.config/qt6ct/qt6ct.conf
+++ b/.config/qt6ct/qt6ct.conf
@@ -6,7 +6,7 @@ standard_dialogs=default
style=Adwaita-Dark
[Fonts]
-fixed="CaskaydiaCove Nerd Font,12,-1,5,400,0,0,0,0,0,0,0,0,0,0,1,Regular"
+fixed="CaskaydiaCove NF,12,-1,5,400,0,0,0,0,0,0,0,0,0,0,1,Regular"
general="Cantarell,12,-1,5,400,0,0,0,0,0,0,0,0,0,0,1,Regular"
[Interface]
diff --git a/.config/rofi/config/bluetooth.rasi b/.config/rofi/config/bluetooth.rasi
index 4f775fba..b269341f 100644
--- a/.config/rofi/config/bluetooth.rasi
+++ b/.config/rofi/config/bluetooth.rasi
@@ -41,7 +41,7 @@ textbox-prompt-colon {
background-color: @SEL;
text-color: @FG;
padding: 8px 12px 8px 12px;
- font: "Iosevka Nerd Font 10";
+ font: "Iosevka NF 10";
}
entry {
diff --git a/.config/rofi/config/launcher.rasi b/.config/rofi/config/launcher.rasi
index fe2b52dc..0999f4aa 100644
--- a/.config/rofi/config/launcher.rasi
+++ b/.config/rofi/config/launcher.rasi
@@ -37,7 +37,7 @@ textbox-prompt-colon {
background-color: @SEL;
text-color: @FG;
padding: 8px 12px 8px 12px;
- font: "Iosevka Nerd Font 10";
+ font: "Iosevka NF 10";
}
entry {
diff --git a/.config/rofi/config/mpd.rasi b/.config/rofi/config/mpd.rasi
index 4f168b08..7749ae8a 100644
--- a/.config/rofi/config/mpd.rasi
+++ b/.config/rofi/config/mpd.rasi
@@ -44,7 +44,7 @@ textbox-prompt-colon {
background-color: @BG;
text-color: @FG;
padding: 8px 12px 8px 12px;
- font: "Iosevka Nerd Font 10";
+ font: "Iosevka NF 10";
}
entry {
diff --git a/.config/rofi/config/network.rasi b/.config/rofi/config/network.rasi
index 7e79f0e8..be1b9ce3 100644
--- a/.config/rofi/config/network.rasi
+++ b/.config/rofi/config/network.rasi
@@ -41,7 +41,7 @@ textbox-prompt-colon {
background-color: @BG;
text-color: @FG;
padding: 8px 12px 8px 12px;
- font: "Iosevka Nerd Font 10";
+ font: "Iosevka NF 10";
}
entry {
diff --git a/.config/rofi/config/networkmenu.rasi b/.config/rofi/config/networkmenu.rasi
index 6577dbf2..b714cf2c 100644
--- a/.config/rofi/config/networkmenu.rasi
+++ b/.config/rofi/config/networkmenu.rasi
@@ -41,7 +41,7 @@ textbox-prompt-colon {
background-color: @SEL;
text-color: @FG;
padding: 8px 12px 8px 12px;
- font: "Iosevka Nerd Font 10";
+ font: "Iosevka NF 10";
}
entry {
diff --git a/.config/rofi/config/powermenu.rasi b/.config/rofi/config/powermenu.rasi
index 5e7ee579..793ff826 100644
--- a/.config/rofi/config/powermenu.rasi
+++ b/.config/rofi/config/powermenu.rasi
@@ -40,7 +40,7 @@ textbox-prompt-colon {
background-color: @BG;
text-color: @BG;
padding: 8px 12px 8px 12px;
- font: "Iosevka Nerd Font 10";
+ font: "Iosevka NF 10";
}
entry {
diff --git a/.config/rofi/config/runner.rasi b/.config/rofi/config/runner.rasi
index 92f7574c..e38f42b3 100644
--- a/.config/rofi/config/runner.rasi
+++ b/.config/rofi/config/runner.rasi
@@ -37,7 +37,7 @@ textbox-prompt-colon {
background-color: @BG;
text-color: @FG;
padding: 8px 12px 8px 12px;
- font: "Iosevka Nerd Font 10";
+ font: "Iosevka NF 10";
}
entry {
diff --git a/.config/rofi/config/screenshot.rasi b/.config/rofi/config/screenshot.rasi
index 6380a75f..22fb0855 100644
--- a/.config/rofi/config/screenshot.rasi
+++ b/.config/rofi/config/screenshot.rasi
@@ -44,7 +44,7 @@ textbox-prompt-colon {
background-color: @BG;
text-color: @FG;
padding: 8px 12px 8px 12px;
- font: "Iosevka Nerd Font 10";
+ font: "Iosevka NF 10";
}
entry {
diff --git a/.config/waybar/minimal/style.css b/.config/waybar/minimal/style.css
index 0ca733a5..72eb7f53 100644
--- a/.config/waybar/minimal/style.css
+++ b/.config/waybar/minimal/style.css
@@ -1,7 +1,9 @@
* {
border: none;
border-radius: 0;
- font-family: JetBrainsMono Nerd Font, Sans;
+ font-family:
+ JetBrainsMono NF,
+ Sans;
font-size: 18px;
box-shadow: none;
text-shadow: none;
diff --git a/.config/waybar/minimal/style.scss b/.config/waybar/minimal/style.scss
index 3bf87761..cd3109e1 100644
--- a/.config/waybar/minimal/style.scss
+++ b/.config/waybar/minimal/style.scss
@@ -51,7 +51,9 @@ $teal: #72b69c;
* {
border: none;
border-radius: 0;
- font-family: JetBrainsMono Nerd Font, Sans;
+ font-family:
+ JetBrainsMono NF,
+ Sans;
font-size: 18px;
box-shadow: none;
text-shadow: none;
diff --git a/.config/waybar/poiesis/style.css b/.config/waybar/poiesis/style.css
index ff750088..fd577aba 100644
--- a/.config/waybar/poiesis/style.css
+++ b/.config/waybar/poiesis/style.css
@@ -1,7 +1,9 @@
* {
border: none;
border-radius: 0;
- font-family: JetBrainsMono Nerd Font, Sans;
+ font-family:
+ JetBrainsMono NF,
+ Sans;
font-size: 18px;
box-shadow: none;
text-shadow: none;
diff --git a/.config/waybar/poiesis/style.scss b/.config/waybar/poiesis/style.scss
index 5cea1bc4..6712f2b8 100644
--- a/.config/waybar/poiesis/style.scss
+++ b/.config/waybar/poiesis/style.scss
@@ -40,7 +40,9 @@ $teal: #72b69c;
* {
border: none;
border-radius: 0;
- font-family: JetBrainsMono Nerd Font, Sans;
+ font-family:
+ JetBrainsMono NF,
+ Sans;
font-size: 18px;
box-shadow: none;
text-shadow: none;
diff --git a/.config/wezterm/font.lua b/.config/wezterm/font.lua
index 0bd6031b..1bdcd175 100644
--- a/.config/wezterm/font.lua
+++ b/.config/wezterm/font.lua
@@ -15,7 +15,7 @@ local emoji_font = font.twemoji
---@param suffix string?
---@diagnostic disable-next-line: redefined-local
local function nerd(font, suffix)
- suffix = suffix or 'Nerd Font'
+ suffix = suffix or 'NF'
if not (font:find 'Nerd Font' or font:find 'NF') then
font = font:gsub(' Mono', 'Mono', 1) .. ' ' .. suffix
end