summaryrefslogtreecommitdiff
path: root/.wezterm.lua
blob: c4283dc7ff7e18fa2b49128051edf07f1aa60536 (plain)
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
-- Pull in the wezterm API
local wezterm = require 'wezterm'

-- This table will hold the configuration.
local config = {}

-- In newer versions of wezterm, use the config_builder which will
-- help provide clearer error messages
if wezterm.config_builder then
  config = wezterm.config_builder()
end

-- This is where you actually apply your config choices

-- For example, changing the color scheme:
-- config.color_scheme = 'Catppuccin Macchiato'

local scheme = wezterm.color.get_builtin_schemes()['Catppuccin Macchiato']
scheme.ansi = {
    "#414559", 
    "#FB6E71", 
    "#A1EB70", 
    "#FBCF7A", 
    "#81A6F9", 
    "#FEAEE9", 
    "#67e5d4", 
    "#CDD2E4", 
}

scheme.brights = {
    "#51576d",
    "#FB6E71", 
    "#A1EB70", 
    "#FBCF7A", 
    "#81A6F9", 
    "#FEAEE9", 
    "#67e5d4", 
	"#DADFF1",
}

config.color_schemes = {
    ["BETTERppuccin"] = scheme
}
config.color_scheme = "BETTERppuccin"

-- config.font = wezterm.font 'FiraCode Nerd Font'
config.font = wezterm.font_with_fallback {
    'FiraCode Nerd Font',
}
config.font_size = 11.0

config.hide_tab_bar_if_only_one_tab = true

-- and finally, return the configuration to wezterm
return config