-
Notifications
You must be signed in to change notification settings - Fork 0
/
wezterm.lua
47 lines (38 loc) · 1.11 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
local wezterm = require('wezterm')
local os = wezterm.target_triple
if os == 'x86_64-pc-windows-msvc' then -- Windows
shell = { 'C:/Program Files/PowerShell/7/pwsh.exe' }
elseif os == 'aarch64-apple-darwin' then -- macOS (Apple Silicon)
shell = { '/bin/zsh' }
else
shell = {}
end
table.insert(shell, '-l')
return {
-- [COLORS]
color_scheme = 'AyuDark (Gogh)',
-- [FONT]
font = wezterm.font({
family = 'JetBrainsMono Nerd Font',
}),
-- [GUI]
enable_tab_bar = true,
hide_tab_bar_if_only_one_tab = false,
hide_mouse_cursor_when_typing = true,
-- [TABS]
tab_bar_at_bottom = true,
use_fancy_tab_bar = false,
show_tab_index_in_tab_bar = true,
switch_to_last_active_tab_when_closing_tab = true,
tab_max_width = 15,
-- [CURSOR]
default_cursor_style = "BlinkingBlock",
cursor_blink_ease_in = "Constant",
cursor_blink_ease_out = "Constant",
cursor_blink_rate = 600,
-- [WINDOW]
window_decorations = "INTEGRATED_BUTTONS | RESIZE",
window_padding = { bottom = 0 },
-- [SHELL]
default_prog = shell,
}