-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path_wezterm.lua
165 lines (146 loc) · 4.18 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
local wezterm = require 'wezterm'
local config = wezterm.config_builder()
local act = wezterm.action
--config.color_scheme = 'Alabaster'
--config.color_scheme = 'Atelier Forest Light (base16)'
--config.color_scheme = 'Atelier Heath Light (base16)'
--config.color_scheme = 'Atelier Sulphurpool Light (base16)'
--config.color_scheme = 'Atelierforest (light) (terminal.sexy)'
--config.color_scheme = 'Atelierheath (light) (terminal.sexy)'
--config.color_scheme = 'AtomOneLight'
--config.color_scheme = 'Ayu Light (Gogh)'
--config.color_scheme = 'Bluloco Light (Gogh)'
--config.color_scheme = 'BlulocoLight'
--config.color_scheme = 'dayfox'
--config.color_scheme = 'zenbones'
--config.color_scheme = 'farmhouse-light'
--config.color_scheme = 'Humanoid light (base16)'
--config.color_scheme = 'Mexico Light (base16)'
--config.color_scheme = 'Modus-Operandi-Tinted'
--config.color_scheme = 'Novel'
--config.color_scheme = 'primary'
--config.color_scheme = 'Pro Light'
--config.color_scheme = 'Raycast_Light'
--config.color_scheme = 'rose-pine-dawn'
--config.color_scheme = 'Sagelight (base16)'
--config.color_scheme = 'Selenized Light (Gogh)'
--config.color_scheme = 'Shapeshifter (base16)'
--config.color_scheme = 'Silk Light (base16)'
--config.color_scheme = 'Tinacious Design (Light)'
--config.color_scheme = 'Tokyo Night Light (Gogh)'
--config.color_scheme = 'tokyonight-day'
--config.color_scheme = 'Windows 10 Light (base16)' -- workable
--config.color_scheme = 'Windows NT Light (base16)' -- not horrible
config.color_scheme = 'Cupertino (base16)' -- workable
--config.color_scheme = 'iceberg-light' -- workable
--config.color_scheme = 'seoulbones_light' -- Nice!
--config.color_scheme = 'Windows High Contrast Light (base16)'
config.colors = {
foreground = 'black',
background = '#dddddd',
tab_bar = {
background = 'grey75',
active_tab = {
bg_color = '#dddddd',
fg_color = 'black',
intensity = 'Bold',
},
inactive_tab = {
bg_color = 'grey20',
fg_color = 'grey85',
intensity = 'Half',
},
new_tab = {
bg_color = 'black',
fg_color = 'grey85',
},
},
scrollbar_thumb = 'grey50'
--ansi = {
-- 'black',
-- 'maroon',
-- 'green',
-- 'olive',
-- 'navy',
-- 'purple',
-- 'teal',
-- 'silver',
--},
--brights = {
-- 'grey',
-- 'red',
-- 'lime',
-- 'yellow',
-- 'blue',
-- 'fuchsia',
-- 'aqua',
-- 'white',
--},
}
config.window_frame = {
font_size = 9.0,
active_titlebar_bg = 'grey60',
inactive_titlebar_bg = 'yellow',
}
-- config.window_background_opacity = 0.95
config.inactive_pane_hsb = {
saturation = 1.0,
brightness = 0.9,
}
config.enable_scroll_bar = true
config.use_fancy_tab_bar = true
config.adjust_window_size_when_changing_font_size = false
-- config.hyperlink_rules = { }
config.mouse_bindings = {
-- Change the default click behavior so that it only selects
-- text and doesn't open hyperlinks
{
event = { Up = { streak = 1, button = 'Left' } },
mods = 'NONE',
action = act.CompleteSelection 'ClipboardAndPrimarySelection',
},
-- Ctrl-click will open the link under the mouse cursor
{
event = { Up = { streak = 1, button = 'Left' } },
mods = 'CTRL',
action = act.OpenLinkAtMouseCursor,
},
-- Disable the 'Down' event of CTRL-Click to avoid weird program behaviors
{
event = { Down = { streak = 1, button = 'Left' } },
mods = 'CTRL',
action = act.Nop,
},
}
config.initial_cols = 175
config.initial_rows = 50
config.launch_menu = {
{
label = 'Bedrock Main',
args = { 'bash', '-l' },
cwd = '/home/troth/work/bedrock/bedrock-main',
},
{
label = 'Judo Main',
args = { 'bash', '-l' },
cwd = '/home/troth/work/judo/judo-main',
},
}
config.keys = {
{ key = '+', mods = 'SHIFT|ALT', action = act.ShowLauncher },
}
config.serial_ports = {
{
name = 'FT-9',
port = '/dev/tty-ft-9',
baud = 115200,
},
}
config.scroll_to_bottom_on_input = true
config.scrollback_lines = 15000
config.swallow_mouse_click_on_pane_focus = true
config.swallow_mouse_click_on_window_focus = true
config.tab_and_split_indices_are_zero_based = true
config.font = wezterm.font('DejaVuSansMono', {})
config.font_size = 12.0
return config