-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwezterm.lua
54 lines (53 loc) · 1.12 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
local wezterm = require("wezterm")
local handle = io.popen("defaults read -g AppleInterfaceStyle 2>/dev/null")
local result = handle:read("*a")
handle:close()
local opacity = result:match("Dark") and 0.93 or 0.85
local wezterm = require("wezterm")
return {
font = wezterm.font("Monaco"),
font_size = 12,
freetype_load_flags = "NO_HINTING",
color_scheme = "Adventure",
enable_tab_bar = false,
window_padding = {
left = 0,
right = 0,
top = 5,
bottom = 0,
},
background = {
{
source = {
File = "__dotfiles__/sleepwatcher-wezterm/images/Moon.jpg",
},
repeat_x = "NoRepeat",
repeat_y = "NoRepeat",
hsb = {
hue = 1,
brightness = 1,
saturation = 1,
},
vertical_align = "Middle",
horizontal_align = "Center",
width = "Cover",
height = "Cover",
opacity = 1,
},
{
source = {
Color = "#000d1a",
},
repeat_x = "NoRepeat",
repeat_y = "NoRepeat",
vertical_align = "Middle",
horizontal_align = "Center",
width = "100%",
height = "100%",
opacity = opacity,
},
},
initial_cols = 175,
initial_rows = 87,
use_resize_increments = false,
}