-
Notifications
You must be signed in to change notification settings - Fork 0
/
.wezterm.lua
40 lines (33 loc) · 1.07 KB
/
.wezterm.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
-- Pull in the wezterm API
local wezterm = require("wezterm")
-- This table will hold the configuration.
local config = {}
-- In newer versions of wezterm, use the config_builder which will
-- help provide clearer error messages
if wezterm.config_builder then
config = wezterm.config_builder()
end
-- This is where you actually apply your config choices
-- For example, changing the color scheme:
-- config.color_scheme = "AdventureTime"
config.window_close_confirmation = "NeverPrompt"
config.window_background_opacity = 0.75
config.enable_tab_bar = false
config.freetype_load_target = "Light"
config.freetype_render_target = "Normal"
config.freetype_load_flags = "NO_HINTING"
config.font = wezterm.font_with_fallback({ "LigaHack Nerd Font", { family = "Noto Sans JP" } })
config.font_size = 9
config.front_end = "WebGpu"
config.window_decorations = "RESIZE"
config.window_padding = {
left = 0,
right = 0,
top = 0,
bottom = 0,
}
if wezterm.target_triple == "aarch64-apple-darwin" then
config.font_size = 10
end
-- and finally, return the configuration to wezterm
return config