-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.wezterm.lua
58 lines (50 loc) · 1.33 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
-- 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
----------------------------
-- Font
----------------------------
config.font = wezterm.font({
family = "SpaceMono Nerd Font",
weight = "Regular",
harfbuzz_features = { "zero" },
})
config.font_size = 16.0
config.cell_width = 0.95
-- config.line_height = 0.9
-- config.freetype_load_target = "Light"
-- config.freetype_render_target = "HorizontalLcd"
----------------------------
-- Theme
----------------------------
config.color_scheme = "OneHalfDark"
-- Background
config.colors = {
background = "#0c0e15",
}
config.window_background_opacity = 0.9
config.macos_window_background_blur = 90
config.window_decorations = "RESIZE|MACOS_FORCE_ENABLE_SHADOW"
----------------------------
-- Window Scheme
----------------------------
-- Hide the tab bar
config.hide_tab_bar_if_only_one_tab = true
-- window padding
config.window_padding = {
left = 30,
right = 30,
top = 20,
bottom = 20,
}
-- Startup
config.initial_cols = 110
-- and finally, return the configuration to wezterm
return config