wezterm: use juliamono

This commit is contained in:
qwjyh 2023-04-26 19:45:38 +09:00
parent 4d0578fb86
commit 3a94c865ba

View file

@ -17,7 +17,7 @@ if wezterm.target_triple == 'x86_64-pc-windows-msvc' then
}) })
for _, vsvers in for _, vsvers in
ipairs(wezterm.glob('Microsoft Visual Studio/20*', 'C:/Program Files (x86)')) ipairs(wezterm.glob('Microsoft Visual Studio/20*', 'C:/Program Files (x86)'))
do do
local year = vsvers:gsub('Microsoft Visual Studio/', '') local year = vsvers:gsub('Microsoft Visual Studio/', '')
table.insert(launch_menu, { table.insert(launch_menu, {
@ -26,8 +26,8 @@ if wezterm.target_triple == 'x86_64-pc-windows-msvc' then
'cmd.exe', 'cmd.exe',
'/k', '/k',
'C:/Program Files (x86)/' 'C:/Program Files (x86)/'
.. vsvers .. vsvers
.. '/BuildTools/VC/Auxiliary/Build/vcvars64.bat', .. '/BuildTools/VC/Auxiliary/Build/vcvars64.bat',
}, },
}) })
end end
@ -36,22 +36,27 @@ end
return { return {
default_prog = default_prog, default_prog = default_prog,
launch_menu = launch_menu, launch_menu = launch_menu,
-- keys = {
-- keys = { -- {
-- { -- key = 'P',
-- key = 'P', -- mods = 'CTRL',
-- mods = 'CTRL', -- action = wezterm.action.ActivateCommandPalette,
-- action = wezterm.action.ActivateCommandPalette, -- }
-- } -- },
-- },
color_scheme = "iceberg-dark", color_scheme = "iceberg-dark",
use_fancy_tab_bar = false, use_fancy_tab_bar = false,
tab_bar_at_bottom = true, tab_bar_at_bottom = true,
window_background_opacity = 0.85,
window_background_opacity = 0.8, -- font = wezterm.font 'FirgeNerd Console'
font = wezterm.font_with_fallback {
font = wezterm.font 'FirgeNerd Console' {
family = 'JuliaMono',
harfbuzz_features = {
'calt=0', -- disables ligature
},
},
'FirgeNerd Console', -- for japanese
'UniFont Regular',
},
} }