mirror of
https://github.com/acedanger/dotfiles.git
synced 2025-12-05 22:30:13 -08:00
copied profile
This commit is contained in:
60
wezterm/.config/picker/assets/fonts/monaspace-krypton.lua
Normal file
60
wezterm/.config/picker/assets/fonts/monaspace-krypton.lua
Normal 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
|
||||
Reference in New Issue
Block a user