refactor(wezterm): improve font handling

This commit is contained in:
Price Hiller 2024-01-16 16:42:00 -06:00
parent c078cf6142
commit c1751fb962
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,10 @@
local wezterm = require("wezterm")
return {
font_dirs = {
(os.getenv("XDG_DATA_HOME") or os.getenv("HOME") .. "/.local/share") .. "/fonts",
"/home/sam/.local/share/fonts"
},
use_cap_height_to_scale_fallback_fonts = true,
line_height = 1.0,
font = wezterm.font_with_fallback({

View File

@ -1,5 +1,4 @@
return {
font_locator = nil,
enable_wayland = true,
window_decorations = "NONE",
}