fix(wezterm): broken font redering on 24.11
This commit is contained in:
parent
f2e8f59c6a
commit
2be4067567
1 changed files with 13 additions and 6 deletions
|
@ -90,12 +90,19 @@ in
|
||||||
# Terminal
|
# Terminal
|
||||||
wezterm = {
|
wezterm = {
|
||||||
enable = cfg.terminal == "wezterm";
|
enable = cfg.terminal == "wezterm";
|
||||||
extraConfig = lib.optionalString config.jhome.styling.enable ''
|
extraConfig =
|
||||||
config = {}
|
lib.optionalString config.jhome.styling.enable # lua
|
||||||
config.hide_tab_bar_if_only_one_tab = true
|
''
|
||||||
config.window_padding = { left = 1, right = 1, top = 1, bottom = 1 }
|
local wezterm = require("wezterm")
|
||||||
return config
|
|
||||||
'';
|
local config = wezterm.config_builder()
|
||||||
|
|
||||||
|
config.front_end = "WebGpu"
|
||||||
|
config.hide_tab_bar_if_only_one_tab = true
|
||||||
|
config.window_padding = { left = 1, right = 1, top = 1, bottom = 1 }
|
||||||
|
|
||||||
|
return config
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
alacritty.enable = cfg.terminal == "alacritty";
|
alacritty.enable = cfg.terminal == "alacritty";
|
||||||
zellij.enable = cfg.terminal == "alacritty"; # alacritty has no terminal multiplexer built-in
|
zellij.enable = cfg.terminal == "alacritty"; # alacritty has no terminal multiplexer built-in
|
||||||
|
|
Loading…
Reference in a new issue