copied profile

This commit is contained in:
Peter Wood
2025-04-08 15:31:34 -04:00
parent 59ea35edc7
commit 6c72ecbd48
106 changed files with 9515 additions and 0 deletions

View File

@@ -0,0 +1,77 @@
---@module "picker.assets.fonts.cascadia-nf"
---@author sravioli, akthe-at
---@license GNU-GPLv3
---@class PickList
local M = {}
local wt = require "wezterm"
M.get = function()
return { id = "cascadia-nf", label = "Cascadia Mono Nerd Font" }
end
M.activate = function(Config, _)
local monaspace_features =
{ "dlig", "ss01", "ss02", "ss03", "ss04", "ss05", "ss06", "ss07", "ss08" }
Config.font = wt.font_with_fallback {
{
family = "Cascadia Mono NF",
weight = "Regular",
harfbuzz_features = {
"cv06",
"cv12",
"cv14",
"cv16",
"cv25",
"cv26",
"cv28",
"cv29",
"cv31",
"cv32",
"ss03",
"ss04",
"ss05",
"ss07",
"ss09",
},
},
{ family = "Noto Color Emoji" },
{ family = "LegacyComputing" },
}
Config.line_height = 1.0
Config.font_rules = {
{
intensity = "Normal",
italic = true,
font = wt.font_with_fallback {
{
family = "Monaspace Radon",
style = "Normal",
weight = "Regular",
stretch = "Normal",
harfbuzz_features = monaspace_features,
},
{ family = "Symbols Nerd Font" },
},
},
{
intensity = "Bold",
italic = true,
font = wt.font_with_fallback {
{
family = "Cascadia Mono NF",
style = "Italic",
weight = "DemiBold",
harfbuzz_features = monaspace_features,
scale = 1.1,
},
{ family = "Symbols Nerd Font" },
},
},
}
end
return M

View File

@@ -0,0 +1,76 @@
---@module "picker.assets.fonts.cascadia-pl"
---@author sravioli, akthe-at
---@license GNU-GPLv3
---@class PickList
local M = {}
local wt = require "wezterm"
M.get = function()
return { id = "cascadia-pl", label = "Cascadia Code PL" }
end
M.activate = function(Config, _)
local monaspace_features =
{ "dlig", "ss01", "ss02", "ss03", "ss04", "ss05", "ss06", "ss07", "ss08" }
Config.font = wt.font_with_fallback {
{
family = "Cascadia Code PL",
weight = "Regular",
harfbuzz_features = {
"cv06",
"cv14",
"cv16",
"cv25",
"cv26",
"cv28",
"cv29",
"cv31",
"cv32",
"ss03",
"ss04",
"ss05",
"ss07",
"ss09",
},
},
{ family = "Noto Color Emoji" },
{ family = "LegacyComputing" },
}
Config.cell_width = 0.9
Config.font_rules = {
{
intensity = "Normal",
italic = true,
font = wt.font_with_fallback {
{
family = "Monaspace Radon",
style = "Normal",
weight = "Regular",
stretch = "Expanded",
harfbuzz_features = monaspace_features,
},
{ family = "Symbols Nerd Font" },
},
},
{
intensity = "Bold",
italic = true,
font = wt.font_with_fallback {
{
family = "Monaspace Krypton Var",
style = "Italic",
weight = "Black",
harfbuzz_features = monaspace_features,
scale = 1.1,
},
{ family = "Symbols Nerd Font" },
},
},
}
end
return M

View File

@@ -0,0 +1,76 @@
---@module "picker.assets.fonts.caskaydia-cove-nf"
---@author sravioli, akthe-at
---@license GNU-GPLv3
---@class PickList
local M = {}
local wt = require "wezterm"
M.get = function()
return { id = "cascaydia-cove-nf", label = "Cascaydia Cove Nerd Font" }
end
M.activate = function(Config, _)
local monaspace_features =
{ "dlig", "ss01", "ss02", "ss03", "ss04", "ss05", "ss06", "ss07", "ss08" }
Config.font = wt.font_with_fallback {
{
family = "CaskaydiaCove Nerd Font",
weight = "Regular",
harfbuzz_features = {
"cv06",
"cv12",
"cv14",
"cv16",
"cv25",
"cv26",
"cv28",
"cv29",
"cv31",
"cv32",
"ss03",
"ss04",
"ss05",
"ss07",
"ss09",
},
},
{ family = "Noto Color Emoji" },
{ family = "LegacyComputing" },
}
Config.font_rules = {
{
intensity = "Normal",
italic = true,
font = wt.font_with_fallback {
{
family = "Monaspace Radon",
style = "Normal",
weight = "Regular",
stretch = "Expanded",
harfbuzz_features = monaspace_features,
},
{ family = "Symbols Nerd Font" },
},
},
{
intensity = "Bold",
italic = true,
font = wt.font_with_fallback {
{
family = "Monaspace Krypton Var",
style = "Italic",
weight = "Black",
harfbuzz_features = monaspace_features,
scale = 1.1,
},
{ family = "Symbols Nerd Font" },
},
},
}
end
return M

View File

@@ -0,0 +1,77 @@
---@module "picker.assets.fonts.comic-shanns-nf"
---@author sravioli, akthe-at
---@license GNU-GPLv3
---@class PickList
local M = {}
local wt = require "wezterm"
M.get = function()
return { id = "comic-shanns-nf", label = "Comic Shanns Mono Nerf Font" }
end
M.activate = function(Config, _)
local monaspace_features =
{ "dlig", "ss01", "ss02", "ss03", "ss04", "ss05", "ss06", "ss07", "ss08" }
Config.font = wt.font_with_fallback {
{
family = "ComicShannsMono Nerd Font",
weight = "Regular",
harfbuzz_features = {
"cv06",
"cv12",
"cv14",
"cv16",
"cv25",
"cv26",
"cv28",
"cv29",
"cv31",
"cv32",
"ss03",
"ss04",
"ss05",
"ss07",
"ss09",
},
},
{ family = "Noto Color Emoji" },
{ family = "LegacyComputing" },
}
Config.cell_width = 1.0
Config.font_rules = {
{
intensity = "Normal",
italic = true,
font = wt.font_with_fallback {
{
family = "Monaspace Radon",
style = "Normal",
weight = "Regular",
stretch = "Expanded",
harfbuzz_features = monaspace_features,
},
{ family = "Symbols Nerd Font" },
},
},
{
intensity = "Bold",
italic = true,
font = wt.font_with_fallback {
{
family = "Monaspace Krypton Var",
style = "Italic",
weight = "Black",
harfbuzz_features = monaspace_features,
scale = 1.1,
},
{ family = "Symbols Nerd Font" },
},
},
}
end
return M

View File

@@ -0,0 +1,77 @@
---@module "picker.assets.fonts.d2-coding-nf"
---@author sravioli, akthe-at
---@license GNU-GPLv3
---@class PickList
local M = {}
local wt = require "wezterm"
M.get = function()
return { id = "d2-coding-nf", label = "D2 Coding Ligature Nerd Font" }
end
M.activate = function(Config, _)
local monaspace_features =
{ "dlig", "ss01", "ss02", "ss03", "ss04", "ss05", "ss06", "ss07", "ss08" }
Config.font = wt.font_with_fallback {
{
family = "D2CodingLigature Nerd Font",
weight = "Regular",
harfbuzz_features = {
"cv06",
"cv12",
"cv14",
"cv16",
"cv25",
"cv26",
"cv28",
"cv29",
"cv31",
"cv32",
"ss03",
"ss04",
"ss05",
"ss07",
"ss09",
},
},
{ family = "Noto Color Emoji" },
{ family = "LegacyComputing" },
}
Config.cell_width = 1.0
Config.font_rules = {
{
intensity = "Normal",
italic = true,
font = wt.font_with_fallback {
{
family = "Monaspace Radon",
style = "Normal",
weight = "Regular",
stretch = "Expanded",
harfbuzz_features = monaspace_features,
},
{ family = "Symbols Nerd Font" },
},
},
{
intensity = "Bold",
italic = true,
font = wt.font_with_fallback {
{
family = "Monaspace Krypton Var",
style = "Italic",
weight = "Black",
harfbuzz_features = monaspace_features,
scale = 1.1,
},
{ family = "Symbols Nerd Font" },
},
},
}
end
return M

View File

@@ -0,0 +1,77 @@
---@module "picker.assets.fonts.droid-sans-nf"
---@author sravioli, akthe-at
---@license GNU-GPLv3
---@class PickList
local M = {}
local wt = require "wezterm"
M.get = function()
return { id = "droid-sans-nf", label = "Droid Sans Nerd Font" }
end
M.activate = function(Config, _)
local monaspace_features =
{ "dlig", "ss01", "ss02", "ss03", "ss04", "ss05", "ss06", "ss07", "ss08" }
Config.font = wt.font_with_fallback {
{
family = "DroidSansM Nerd Font",
weight = "Regular",
harfbuzz_features = {
"cv06",
"cv12",
"cv14",
"cv16",
"cv25",
"cv26",
"cv28",
"cv29",
"cv31",
"cv32",
"ss03",
"ss04",
"ss05",
"ss07",
"ss09",
},
},
{ family = "Noto Color Emoji" },
{ family = "LegacyComputing" },
}
Config.cell_width = 0.9
Config.font_rules = {
{
intensity = "Normal",
italic = true,
font = wt.font_with_fallback {
{
family = "Monaspace Radon",
style = "Normal",
weight = "Regular",
stretch = "Expanded",
harfbuzz_features = monaspace_features,
},
{ family = "Symbols Nerd Font" },
},
},
{
intensity = "Bold",
italic = true,
font = wt.font_with_fallback {
{
family = "Monaspace Krypton Var",
style = "Italic",
weight = "Black",
harfbuzz_features = monaspace_features,
scale = 1.1,
},
{ family = "Symbols Nerd Font" },
},
},
}
end
return M

View File

@@ -0,0 +1,76 @@
---@module "picker.assets.fonts.fira-code-nf"
---@author sravioli, akthe-at
---@license GNU-GPLv3
---@class PickList
local M = {}
local wt = require "wezterm"
M.get = function()
return { id = "fira-code-nf", label = "Fira Code Nerd Font" }
end
M.activate = function(Config, _)
local monaspace_features =
{ "dlig", "ss01", "ss02", "ss03", "ss04", "ss05", "ss06", "ss07", "ss08" }
Config.font = wt.font_with_fallback {
{
family = "FiraCode Nerd Font",
weight = "Regular",
harfbuzz_features = {
"cv06",
"cv12",
"cv14",
"cv16",
"cv25",
"cv26",
"cv28",
"cv29",
"cv31",
"cv32",
"ss03",
"ss04",
"ss05",
"ss07",
"ss09",
},
},
{ family = "Noto Color Emoji" },
{ family = "LegacyComputing" },
}
Config.font_rules = {
{
intensity = "Normal",
italic = true,
font = wt.font_with_fallback {
{
family = "Monaspace Radon",
style = "Normal",
weight = "Regular",
stretch = "Expanded",
harfbuzz_features = monaspace_features,
},
{ family = "Symbols Nerd Font" },
},
},
{
intensity = "Bold",
italic = true,
font = wt.font_with_fallback {
{
family = "Monaspace Krypton Var",
style = "Italic",
weight = "Black",
harfbuzz_features = monaspace_features,
scale = 1.1,
},
{ family = "Symbols Nerd Font" },
},
},
}
end
return M

View File

@@ -0,0 +1,77 @@
---@module "picker.assets.fonts.hack-nf"
---@author sravioli, akthe-at
---@license GNU-GPLv3
---@class PickList
local M = {}
local wt = require "wezterm"
M.get = function()
return { id = "hack-nf", label = "Hack Nerd Font" }
end
M.activate = function(Config, _)
local monaspace_features =
{ "dlig", "ss01", "ss02", "ss03", "ss04", "ss05", "ss06", "ss07", "ss08" }
Config.font = wt.font_with_fallback {
{
family = "Hack Nerd Font",
weight = "Regular",
harfbuzz_features = {
"cv06",
"cv12",
"cv14",
"cv16",
"cv25",
"cv26",
"cv28",
"cv29",
"cv31",
"cv32",
"ss03",
"ss04",
"ss05",
"ss07",
"ss09",
},
},
{ family = "Noto Color Emoji" },
{ family = "LegacyComputing" },
}
Config.line_height = 1.3
Config.font_rules = {
{
intensity = "Normal",
italic = true,
font = wt.font_with_fallback {
{
family = "Monaspace Radon",
style = "Normal",
weight = "Regular",
stretch = "Expanded",
harfbuzz_features = monaspace_features,
},
{ family = "Symbols Nerd Font" },
},
},
{
intensity = "Bold",
italic = true,
font = wt.font_with_fallback {
{
family = "Monaspace Krypton Var",
style = "Italic",
weight = "Black",
harfbuzz_features = monaspace_features,
scale = 1.1,
},
{ family = "Symbols Nerd Font" },
},
},
}
end
return M

View File

@@ -0,0 +1,61 @@
---@module "picker.assets.fonts.jetbrains-mono-nf"
---@author sravioli, akthe-at
---@license GNU-GPLv3
---@class PickList
local M = {}
local wt = require "wezterm"
M.get = function()
return { id = "jetbrains-mono-nf", label = "Jetbrains Mono Nerd Font" }
end
M.activate = function(Config, _)
local monaspace_features =
{ "dlig", "ss01", "ss02", "ss03", "ss04", "ss05", "ss06", "ss07", "ss08" }
Config.font = wt.font_with_fallback {
{
family = "JetBrainsMono Nerd Font",
weight = "Regular",
harfbuzz_features = {},
},
{ family = "Noto Color Emoji" },
{ family = "LegacyComputing" },
}
Config.line_height = 1.2
Config.font_rules = {
{
intensity = "Normal",
italic = true,
font = wt.font_with_fallback {
{
family = "Monaspace Radon", --"Monaspace Radon Var",
style = "Normal",
weight = "Regular",
stretch = "Expanded",
harfbuzz_features = monaspace_features,
},
{ family = "Symbols Nerd Font" },
},
},
{
intensity = "Bold",
italic = true,
font = wt.font_with_fallback {
{
family = "Monaspace Krypton Var", --"Monaspace Krypton Var",
style = "Italic",
weight = "Black",
harfbuzz_features = monaspace_features,
scale = 1.1,
},
{ family = "Symbols Nerd Font" },
},
},
}
end
return M

View File

@@ -0,0 +1,76 @@
---@module "picker.assets.fonts.maple-mono"
---@author sravioli, akthe-at
---@license GNU-GPLv3
---@class PickList
local M = {}
local wt = require "wezterm"
M.get = function()
return { id = "maple-mono", label = "Maple Mono" }
end
M.activate = function(Config, _)
local monaspace_features =
{ "dlig", "ss01", "ss02", "ss03", "ss04", "ss05", "ss06", "ss07", "ss08" }
Config.font = wt.font_with_fallback {
{
family = "Maple Mono",
weight = "Regular",
harfbuzz_features = {
"cv06",
"cv12",
"cv14",
"cv16",
"cv25",
"cv26",
"cv28",
"cv29",
"cv31",
"cv32",
"ss03",
"ss04",
"ss05",
"ss07",
"ss09",
},
},
{ family = "Noto Color Emoji" },
{ family = "LegacyComputing" },
}
Config.font_rules = {
{
intensity = "Normal",
italic = true,
font = wt.font_with_fallback {
{
family = "Monaspace Radon",
style = "Normal",
weight = "Regular",
stretch = "Expanded",
harfbuzz_features = monaspace_features,
},
{ family = "Symbols Nerd Font" },
},
},
{
intensity = "Bold",
italic = true,
font = wt.font_with_fallback {
{
family = "Monaspace Krypton Var",
style = "Italic",
weight = "Black",
harfbuzz_features = monaspace_features,
scale = 1.1,
},
{ family = "Symbols Nerd Font" },
},
},
}
end
return M

View File

@@ -0,0 +1,60 @@
---@module "picker.assets.fonts.monaspace-argon"
---@author sravioli, akthe-at
---@license GNU-GPLv3
---@class PickList
local M = {}
local wt = require "wezterm"
M.get = function()
return { id = "monaspace-argon", label = "Monaspace Argon" }
end
M.activate = function(Config, _)
Config.font = wt.font_with_fallback {
{
family = "Monaspace Argon",
weight = "Regular",
harfbuzz_features = {
"cv06",
"cv12",
"cv14",
"cv16",
"cv25",
"cv26",
"cv28",
"cv29",
"cv31",
"cv32",
"ss03",
"ss04",
"ss05",
"ss07",
"ss09",
},
},
{ family = "Noto Color Emoji" },
{ family = "LegacyComputing" },
}
Config.font_rules = {
{
intensity = "Normal",
italic = true,
font = wt.font("Monaspace Radon", { weight = "Regular" }),
},
{
intensity = "Bold",
italic = false,
font = wt.font("Monaspace Neon", { weight = "ExtraBold" }),
},
{
intensity = "Bold",
italic = true,
font = wt.font("Monaspace Radon", { weight = "ExtraBold" }),
},
}
end
return M

View File

@@ -0,0 +1,60 @@
---@module "picker.assets.fonts.monaspace-krypton"
---@author sravioli, akthe-at
---@license GNU-GPLv3
---@class PickList
local M = {}
local wt = require "wezterm"
M.get = function()
return { id = "monaspace-krypton", label = "Monaspace Krypton" }
end
M.activate = function(Config, _)
Config.font = wt.font_with_fallback {
{
family = "Monaspace Krypton Var",
weight = "Regular",
harfbuzz_features = {
"cv06",
"cv12",
"cv14",
"cv16",
"cv25",
"cv26",
"cv28",
"cv29",
"cv31",
"cv32",
"ss03",
"ss04",
"ss05",
"ss07",
"ss09",
},
},
{ family = "Noto Color Emoji" },
{ family = "LegacyComputing" },
}
Config.font_rules = {
{
intensity = "Normal",
italic = true,
font = wt.font("Monaspace Radon", { weight = "Regular" }),
},
{
intensity = "Bold",
italic = false,
font = wt.font("Monaspace Neon", { weight = "ExtraBold" }),
},
{
intensity = "Bold",
italic = true,
font = wt.font("Monaspace Radon", { weight = "ExtraBold" }),
},
}
end
return M

View File

@@ -0,0 +1,60 @@
---@module "picker.assets.fonts.monaspace-neon"
---@author sravioli, akthe-at
---@license GNU-GPLv3
---@class PickList
local M = {}
local wt = require "wezterm"
M.get = function()
return { id = "monaspace-neon", label = "Monaspace Neon" }
end
M.activate = function(Config, _)
Config.font = wt.font_with_fallback {
{
family = "Monaspace Neon",
weight = "Regular",
harfbuzz_features = {
"cv06",
"cv12",
"cv14",
"cv16",
"cv25",
"cv26",
"cv28",
"cv29",
"cv31",
"cv32",
"ss03",
"ss04",
"ss05",
"ss07",
"ss09",
},
},
{ family = "Noto Color Emoji" },
{ family = "LegacyComputing" },
}
Config.font_rules = {
{
intensity = "Normal",
italic = true,
font = wt.font("Monaspace Radon", { weight = "Regular" }),
},
{
intensity = "Bold",
italic = false,
font = wt.font("Monaspace Neon", { weight = "ExtraBold" }),
},
{
intensity = "Bold",
italic = true,
font = wt.font("Monaspace Radon", { weight = "ExtraBold" }),
},
}
end
return M

View File

@@ -0,0 +1,60 @@
---@module "picker.assets.fonts.monaspace-radon"
---@author sravioli, akthe-at
---@license GNU-GPLv3
---@class PickList
local M = {}
local wt = require "wezterm"
M.get = function()
return { id = "monaspace-radon", label = "Monaspace Radon" }
end
M.activate = function(Config, _)
Config.font = wt.font_with_fallback {
{
family = "Monaspace Radon",
weight = "Regular",
harfbuzz_features = {
"cv06",
"cv12",
"cv14",
"cv16",
"cv25",
"cv26",
"cv28",
"cv29",
"cv31",
"cv32",
"ss03",
"ss04",
"ss05",
"ss07",
"ss09",
},
},
{ family = "Noto Color Emoji" },
{ family = "LegacyComputing" },
}
Config.font_rules = {
{
intensity = "Normal",
italic = true,
font = wt.font("Monaspace Radon", { weight = "Regular" }),
},
{
intensity = "Bold",
italic = false,
font = wt.font("Monaspace Neon", { weight = "ExtraBold" }),
},
{
intensity = "Bold",
italic = true,
font = wt.font("Monaspace Radon", { weight = "ExtraBold" }),
},
}
end
return M

View File

@@ -0,0 +1,60 @@
---@module "picker.assets.fonts.monaspace-xenon"
---@author sravioli, akthe-at
---@license GNU-GPLv3
---@class PickList
local M = {}
local wt = require "wezterm"
M.get = function()
return { id = "monaspace-xenon", label = "Monaspace Xenon" }
end
M.activate = function(Config, _)
Config.font = wt.font_with_fallback {
{
family = "Monaspace Xenon",
weight = "Regular",
harfbuzz_features = {
"cv06",
"cv12",
"cv14",
"cv16",
"cv25",
"cv26",
"cv28",
"cv29",
"cv31",
"cv32",
"ss03",
"ss04",
"ss05",
"ss07",
"ss09",
},
},
{ family = "Noto Color Emoji" },
{ family = "LegacyComputing" },
}
Config.font_rules = {
{
intensity = "Normal",
italic = true,
font = wt.font("Monaspace Radon", { weight = "Regular" }),
},
{
intensity = "Bold",
italic = false,
font = wt.font("Monaspace Neon", { weight = "ExtraBold" }),
},
{
intensity = "Bold",
italic = true,
font = wt.font("Monaspace Radon", { weight = "ExtraBold" }),
},
}
end
return M

View File

@@ -0,0 +1,76 @@
---@module "picker.assets.fonts.pragmasevka-nf"
---@author sravioli, akthe-at
---@license GNU-GPLv3
---@class PickList
local M = {}
local wt = require "wezterm"
M.get = function()
return { id = "pragmasevka-nf", label = "Pragmasevka Nerd Font" }
end
M.activate = function(Config, _)
local monaspace_features =
{ "dlig", "ss01", "ss02", "ss03", "ss04", "ss05", "ss06", "ss07", "ss08" }
Config.font = wt.font_with_fallback {
{
family = "Pragmasevka Nerd Font",
weight = "Medium",
harfbuzz_features = {
"cv06",
"cv12",
"cv14",
"cv16",
"cv25",
"cv26",
"cv28",
"cv29",
"cv31",
"cv32",
"ss03",
"ss04",
"ss05",
"ss07",
"ss09",
},
},
{ family = "Noto Color Emoji" },
{ family = "LegacyComputing" },
}
Config.font_rules = {
{
intensity = "Normal",
italic = true,
font = wt.font_with_fallback {
{
family = "Monaspace Radon",
style = "Normal",
weight = "Regular",
stretch = "Expanded",
harfbuzz_features = monaspace_features,
},
{ family = "Symbols Nerd Font" },
},
},
{
intensity = "Bold",
italic = true,
font = wt.font_with_fallback {
{
family = "Monaspace Krypton Var",
style = "Italic",
weight = "Black",
harfbuzz_features = monaspace_features,
scale = 1.1,
},
{ family = "Symbols Nerd Font" },
},
},
}
end
return M

View File

@@ -0,0 +1,18 @@
---@module "picker.assets.fonts.reset"
---@author sravioli, akthe-at
---@license GNU-GPLv3
---@class PickList
local M = {}
M.get = function()
return { id = "reset", label = "Restore fonts to default" }
end
M.activate = function(Config, _)
for key, value in pairs(require "config.font") do
Config[key] = value
end
end
return M

View File

@@ -0,0 +1,61 @@
---@module "picker.assets.fonts.ubuntu-mono-nf"
---@author sravioli, akthe-at
---@license GNU-GPLv3
---@class PickList
local M = {}
local wt = require "wezterm"
M.get = function()
return { id = "ubuntu-mono-nf", label = "Ubuntu Mono Nerd Font" }
end
M.activate = function(Config, _)
Config.font = wt.font_with_fallback {
{
family = "UbuntuMono Nerd Font",
weight = "Regular",
harfbuzz_features = {
"cv06",
"cv12",
"cv14",
"cv16",
"cv25",
"cv26",
"cv28",
"cv29",
"cv31",
"cv32",
"ss03",
"ss04",
"ss05",
"ss07",
"ss09",
},
},
{ family = "Noto Color Emoji" },
{ family = "LegacyComputing" },
}
Config.cell_width = 0.9
Config.font_rules = {
{
intensity = "Normal",
italic = true,
font = wt.font("Monaspace Radon", { weight = "Regular" }),
},
{
intensity = "Bold",
italic = false,
font = wt.font("Monaspace Neon", { weight = "ExtraBold" }),
},
{
intensity = "Bold",
italic = true,
font = wt.font("Monaspace Radon", { weight = "ExtraBold" }),
},
}
end
return M

View File

@@ -0,0 +1,77 @@
---@module "picker.assets.fonts.victor-mono"
---@author sravioli, akthe-at
---@license GNU-GPLv3
---@class PickList
local M = {}
local wt = require "wezterm"
M.get = function()
return { id = "victor-mono", label = "Victor Mono" }
end
M.activate = function(Config, _)
local monaspace_features =
{ "dlig", "ss01", "ss02", "ss03", "ss04", "ss05", "ss06", "ss07", "ss08" }
Config.font = wt.font_with_fallback {
{
family = "Victor Mono",
weight = "Medium",
harfbuzz_features = {
"cv06",
"cv12",
"cv14",
"cv16",
"cv25",
"cv26",
"cv28",
"cv29",
"cv31",
"cv32",
"ss03",
"ss04",
"ss05",
"ss07",
"ss09",
},
},
{ family = "Noto Color Emoji" },
{ family = "LegacyComputing" },
}
Config.cell_width = 1.0
Config.font_rules = {
{
intensity = "Normal",
italic = true,
font = wt.font_with_fallback {
{
family = "Monaspace Radon",
style = "Normal",
weight = "Regular",
stretch = "Expanded",
harfbuzz_features = monaspace_features,
},
{ family = "Symbols Nerd Font" },
},
},
{
intensity = "Bold",
italic = true,
font = wt.font_with_fallback {
{
family = "Monaspace Krypton Var",
style = "Italic",
weight = "Black",
harfbuzz_features = monaspace_features,
scale = 1.1,
},
{ family = "Symbols Nerd Font" },
},
},
}
end
return M