-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwezterm.lua
More file actions
68 lines (53 loc) · 1.91 KB
/
wezterm.lua
File metadata and controls
68 lines (53 loc) · 1.91 KB
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
-- Pull in the wezterm API
local wezterm = require('wezterm')
-- This will hold the configuration.
local config = wezterm.config_builder()
-- This is where you actually apply your config choices
-- For example, changing the color scheme:
config.color_scheme = 'Molokai'
config.colors = {
tab_bar = {
-- The color of the inactive tab bar edge/divider
inactive_tab_edge = '#575757',
},
}
-- How many lines of scrollback you want to retain per tab
config.scrollback_lines = 99999
-- config.window_background_image = '/Users/sfo/Pictures/macOS-15-Purple-icons-wallpaper.png'
-- config.window_background_image_hsb = {
-- Darken the background image by reducing it to 1/3rd
-- brightness = 0.1,
-- You can adjust the hue by scaling its value.
-- a multiplier of 1.0 leaves the value unchanged.
-- hue = 1.0,
-- You can adjust the saturation also.
-- saturation = 1.0,
-- }
-- config.window_background_opacity = 0.9
config.window_background_opacity = 0.8
config.macos_window_background_blur = 10
config.window_frame = {
-- The font used in the tab bar.
-- Roboto Bold is the default; this font is bundled
-- with wezterm.
-- Whatever font is selected here, it will have the
-- main font setting appended to it to pick up any
-- fallback fonts you may have used there.
font = wezterm.font { family = 'FiraCode Nerd Font' },
-- The size of the font in the tab bar.
-- Default to 10.0 on Windows but 12.0 on other systems
font_size = 11.0,
-- The overall background color of the tab bar when
-- the window is focused
active_titlebar_bg = '#333333',
-- The overall background color of the tab bar when
-- the window is not focused
inactive_titlebar_bg = '#333333',
}
config.font = wezterm.font('FiraCode Nerd Font')
config.font_size = 12.0
-- and finally, return the configuration to wezterm
config.keys = {
{key="Enter", mods="SHIFT", action=wezterm.action{SendString="\x1b\r"}},
}
return config