blob: 2afb53e323da9cc06803fe8d23d69bbeeccffdf0 (
plain)
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
69
70
|
local wt = require('wezterm')
local kb = require('keybinds')
local fn = require('functions')
-- colors
local color_scheme = 'GruvboxDark'
local tab_fg = '#ebdbb2'
local tab_bg = '#504945'
local tab_bg_active = '#282828'
local cursor_fg = '#ebdbb2'
local cursor_bg = '#d65d0e'
-- misc
local cfg = wt.config_builder()
cfg.leader = kb.leader
cfg.keys = kb.keybinds
cfg.audible_bell = 'Disabled'
cfg.check_for_updates = false
-- fonts & text
cfg.harfbuzz_features = nil
cfg.cursor_blink_rate = 0
cfg.bold_brightens_ansi_colors = false
cfg.font = wt.font('Fantasque Sans Mono')
cfg.font_size = fn.set_by_os{
Darwin = 16,
others = 12
}
-- visuals
cfg.window_decorations = 'RESIZE'
cfg.xcursor_theme = 'Adwaita'
cfg.use_fancy_tab_bar = false
cfg.hide_tab_bar_if_only_one_tab = false
cfg.show_new_tab_button_in_tab_bar = false
cfg.tab_max_width = 24
cfg.window_padding = {
left = '5pt',
right = 0,
top = '2pt',
bottom = 0
}
-- theming
cfg.color_scheme = color_scheme
cfg.colors = {
cursor_fg = cursor_fg,
cursor_bg = cursor_bg,
tab_bar = {
background = tab_bg,
active_tab = {
fg_color = tab_fg,
bg_color = tab_bg_active
},
inactive_tab = {
fg_color = tab_fg,
bg_color = tab_bg
}
}
}
cfg.colors.tab_bar.inactive_tab_hover = cfg.colors.tab_bar.inactive_tab
cfg.window_frame = {
active_titlebar_bg = tab_bg,
inactive_titlebar_bg = tab_bg
}
-- callbacks
require('overrides')
return cfg
|