diff --git a/home/apps/wezterm/fonts.lua b/home/apps/wezterm/fonts.lua deleted file mode 100644 index 633e174..0000000 --- a/home/apps/wezterm/fonts.lua +++ /dev/null @@ -1,37 +0,0 @@ ----@type wezterm -local wezterm = require("wezterm") -local M = {} - -local function get_victor(weigth) - return wezterm.font({ - family = "Victor Mono", - style = "Italic", - weight = weigth, - }) -end - -M.apply = function(c) - c.font = wezterm.font_with_fallback({ - "Berkeley Mono", - "Symbols Nerd Font", - }) - c.font_rules = { - { - font = get_victor("Black"), - intensity = "Bold", - italic = true, - }, - { - font = get_victor("Bold"), - intensity = "Half", - italic = true, - }, - { - font = get_victor("DemiBold"), - intensity = "Normal", - italic = true, - }, - } -end - -return M diff --git a/home/apps/wezterm/wezterm.lua b/home/apps/wezterm/wezterm.lua index f988577..843b2c3 100644 --- a/home/apps/wezterm/wezterm.lua +++ b/home/apps/wezterm/wezterm.lua @@ -8,9 +8,12 @@ if wezterm.config_builder then c:set_strict_mode(true) end -require("fonts").apply(c) require("keys").apply(c) +c.font = wezterm.font_with_fallback({ + "Berkeley Mono", + "Symbols Nerd Font", +}) -- window c.window_decorations = "RESIZE" c.window_padding = { left = 0, right = 0, top = 0, bottom = 0 }