-
Notifications
You must be signed in to change notification settings - Fork 0
/
.wezterm.lua
43 lines (35 loc) · 1.21 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
-- 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 = 'catppuccin-mocha'
-- config.color_scheme = 'OneHalfDark'
config.color_scheme = 'Dracula'
config.hide_tab_bar_if_only_one_tab = true
config.font = wezterm.font_with_fallback(
{ family = 'JetBrainsMono Nerd Font', weight = 'Bold', italic = false },
'Noto Color Emoji'
)
config.window_background_opacity = 0.9
config.macos_window_background_blur = 30
config.window_decorations = "RESIZE"
config.window_close_confirmation = 'NeverPrompt'
config.window_padding = {
left = 5,
right = 5,
top = 20,
bottom = 5,
}
config.send_composed_key_when_left_alt_is_pressed = false
config.send_composed_key_when_right_alt_is_pressed = true
-- Set the correct window size at the startup
wezterm.on('gui-startup', function(cmd)
local _, _, window = wezterm.mux.spawn_window(cmd or {})
-- Open full screen
window:gui_window():maximize()
end)
config.selection_word_boundary = '{}[]()"\'`,;:─│┬┤ '
-- and finally, return the configuration to wezterm
return config