-
Notifications
You must be signed in to change notification settings - Fork 0
/
wezterm.lua
executable file
·68 lines (61 loc) · 1.76 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
59
60
61
62
63
64
65
66
67
68
--
-- noncomplete's wezterm configuration
--
local wezterm = require("wezterm")
local mux = wezterm.mux
local config = {}
wezterm.on("gui-startup", function(cmd)
local tab, pane, window = mux.spawn_window(cmd or {})
window:gui_window():maximize()
--pane:split({ size = 0.2 })
end)
if wezterm.config_builder then
config = wezterm.config_builder()
end
-- Spawn a fish shell in login mode
config.default_prog = { "/usr/bin/fish", "-l" }
config.font = wezterm.font("IosevkaTermSlab Mono Nerd Font")
--config.font_rules = {
-- {
-- intensity = "Bold",
-- italic = false,
-- font = wezterm.font("GeistMonoNerdFont-Black"),
-- },
--
-- {
-- intensity = "Bold",
-- italic = true,
-- font = wezterm.font("GeistMonoNerdFont-Black"),
-- },
--}
config.font_size = 12
config.color_scheme = "UltraDark"
config.colors = { cursor_bg = "#83D0FF", cursor_fg = "#000000" }
config.window_background_opacity = 0.92
config.hide_mouse_cursor_when_typing = false
config.inactive_pane_hsb = {
saturation = 0.9,
brightness = 0.85,
}
-- Tab bar config
config.enable_tab_bar = false
config.use_fancy_tab_bar = true
config.window_frame = {
-- The font used in the tab bar.
-- Roboto Bold is the default; this font is bundled
-- with wezterm.
-- Whatever font is selected here, it will have the
-- main font setting appended to it to pick up any
-- fallback fonts you may have used there.
font = wezterm.font({ family = "Geist", weight = "Bold" }),
-- The size of the font in the tab bar.
-- Default to 10. on Windows but 12.0 on other systems
font_size = 11.0,
-- The overall background color of the tab bar when
-- the window is focused
active_titlebar_bg = "#333333",
-- The overall background color of the tab bar when
-- the window is not focused
inactive_titlebar_bg = "#333333",
}
return config