-
Notifications
You must be signed in to change notification settings - Fork 148
/
appearance.lua
56 lines (50 loc) · 1.21 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
local wezterm = require('wezterm')
local gpu_adapters = require('utils.gpu_adapter')
local colors = require('colors.custom')
return {
animation_fps = 60,
max_fps = 60,
front_end = 'WebGpu',
webgpu_power_preference = 'HighPerformance',
webgpu_preferred_adapter = gpu_adapters:pick(),
-- color scheme
colors = colors,
-- background
background = {
{
source = { File = wezterm.GLOBAL.background },
},
{
source = { Color = colors.background },
height = '100%',
width = '100%',
opacity = 0.96,
},
},
-- 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 = 5,
right = 10,
top = 12,
bottom = 7,
},
window_close_confirmation = 'NeverPrompt',
window_frame = {
active_titlebar_bg = '#090909',
-- font = fonts.font,
-- font_size = fonts.font_size,
},
inactive_pane_hsb = {
saturation = 0.7,
brightness = 0.6,
},
}