From 3a94c865baad6c5c30985f0f7a1e2e86a1a66196 Mon Sep 17 00:00:00 2001 From: qwjyh Date: Wed, 26 Apr 2023 19:45:38 +0900 Subject: [PATCH] wezterm: use juliamono --- dotfiles/wezterm/wezterm.lua | 39 ++++++++++++++++++++---------------- 1 file changed, 22 insertions(+), 17 deletions(-) diff --git a/dotfiles/wezterm/wezterm.lua b/dotfiles/wezterm/wezterm.lua index 5bb1712..9952d7d 100644 --- a/dotfiles/wezterm/wezterm.lua +++ b/dotfiles/wezterm/wezterm.lua @@ -17,7 +17,7 @@ if wezterm.target_triple == 'x86_64-pc-windows-msvc' then }) 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 local year = vsvers:gsub('Microsoft Visual Studio/', '') table.insert(launch_menu, { @@ -26,8 +26,8 @@ if wezterm.target_triple == 'x86_64-pc-windows-msvc' then 'cmd.exe', '/k', 'C:/Program Files (x86)/' - .. vsvers - .. '/BuildTools/VC/Auxiliary/Build/vcvars64.bat', + .. vsvers + .. '/BuildTools/VC/Auxiliary/Build/vcvars64.bat', }, }) end @@ -36,22 +36,27 @@ end return { default_prog = default_prog, launch_menu = launch_menu, - --- keys = { --- { --- key = 'P', --- mods = 'CTRL', --- action = wezterm.action.ActivateCommandPalette, --- } --- }, + -- keys = { + -- { + -- key = 'P', + -- mods = 'CTRL', + -- action = wezterm.action.ActivateCommandPalette, + -- } + -- }, color_scheme = "iceberg-dark", - use_fancy_tab_bar = false, tab_bar_at_bottom = true, - - window_background_opacity = 0.8, - - font = wezterm.font 'FirgeNerd Console' + window_background_opacity = 0.85, + -- font = wezterm.font 'FirgeNerd Console' + font = wezterm.font_with_fallback { + { + family = 'JuliaMono', + harfbuzz_features = { + 'calt=0', -- disables ligature + }, + }, + 'FirgeNerd Console', -- for japanese + 'UniFont Regular', + }, } -