-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwezterm.lua
69 lines (54 loc) · 1.92 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
-- Pull in the wezterm API
local wezterm = require "wezterm"
-- This will hold the configuration.
local config = wezterm.config_builder()
config.font = wezterm.font "FiraCode Nerd Font Mono"
config.font_size = 16.0
config.color_scheme = "Railscasts (base16)"
config.inactive_pane_hsb = {
saturation = 0.9,
brightness = 0.8,
}
-- config.window_background_opacity = 0.5
--
-- Choose one from https://wallpaperaccess.com/4k-mountain
config.window_background_image = "/Users/utensil/Pictures/mountain.jpg"
config.window_background_image_hsb = {
-- Darken the background image by reducing it
brightness = 0.03,
-- 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.default_cwd = "/Users/utensil/projects/forest"
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 Mono", weight = "Bold" },
-- The size of the font in the tab bar.
-- Default to 10.0 on Windows but 12.0 on other systems
font_size = 16.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', ]]
}
-- Ctrl+Alt+Shift+5 to split horizontally, +" to split vertically
-- Ctrl+Shift+arrow keys to move between panes
config.keys = {
{
key = "w",
mods = "CMD",
action = wezterm.action.CloseCurrentPane { confirm = true },
},
}
-- and finally, return the configuration to wezterm
return config