refactor(wezterm): improve font handling
This commit is contained in:
parent
c078cf6142
commit
c1751fb962
@ -1,6 +1,10 @@
|
|||||||
local wezterm = require("wezterm")
|
local wezterm = require("wezterm")
|
||||||
|
|
||||||
return {
|
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,
|
use_cap_height_to_scale_fallback_fonts = true,
|
||||||
line_height = 1.0,
|
line_height = 1.0,
|
||||||
font = wezterm.font_with_fallback({
|
font = wezterm.font_with_fallback({
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
return {
|
return {
|
||||||
font_locator = nil,
|
|
||||||
enable_wayland = true,
|
enable_wayland = true,
|
||||||
window_decorations = "NONE",
|
window_decorations = "NONE",
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user