-
Notifications
You must be signed in to change notification settings - Fork 152
/
Copy pathappearance.lua
68 lines (60 loc) · 1.77 KB
/
appearance.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
local gpu_adapters = require('utils.gpu-adapter')
local backdrops = require('utils.backdrops')
local colors = require('colors.custom')
return {
max_fps = 120,
front_end = 'WebGpu',
webgpu_power_preference = 'HighPerformance',
webgpu_preferred_adapter = gpu_adapters:pick_best(),
-- webgpu_preferred_adapter = gpu_adapters:pick_manual('Dx12', 'IntegratedGpu'),
-- webgpu_preferred_adapter = gpu_adapters:pick_manual('Gl', 'Other'),
underline_thickness = '1.5pt',
-- cursor
animation_fps = 120,
cursor_blink_ease_in = 'EaseOut',
cursor_blink_ease_out = 'EaseOut',
default_cursor_style = 'BlinkingBlock',
cursor_blink_rate = 650,
-- color scheme
colors = colors,
-- background
background = backdrops:initial_options(false), -- set to true if you want wezterm to start on focus mode
-- scrollbar
enable_scroll_bar = true,
-- tab bar
enable_tab_bar = true,
hide_tab_bar_if_only_one_tab = false,
use_fancy_tab_bar = false,
tab_max_width = 25,
show_tab_index_in_tab_bar = false,
switch_to_last_active_tab_when_closing_tab = true,
-- window
window_padding = {
left = 0,
right = 0,
top = 10,
bottom = 7.5,
},
adjust_window_size_when_changing_font_size = false,
window_close_confirmation = 'NeverPrompt',
window_frame = {
active_titlebar_bg = '#090909',
-- font = fonts.font,
-- font_size = fonts.font_size,
},
-- inactive_pane_hsb = {
-- saturation = 0.9,
-- brightness = 0.65,
-- },
inactive_pane_hsb = {
saturation = 1,
brightness = 1,
},
visual_bell = {
fade_in_function = 'EaseIn',
fade_in_duration_ms = 250,
fade_out_function = 'EaseOut',
fade_out_duration_ms = 250,
target = 'CursorColor',
},
}