summaryrefslogtreecommitdiff
path: root/.wezterm.lua
blob: 0b49ff13b379d6df6d79e5d46f85756806fa229e (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
56
57
-- 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", 
    "#ed4760", 
    "#87d86c", 
    "#edc576", 
    "#6192f4", 
    "#f492da", 
    "#60d6c4", 
    "#CDD2E4", 
}

scheme.brights = {
    "#51576d",
    "#ed4760", 
    "#87d86c", 
    "#edc576", 
    "#6192f4", 
    "#f492da", 
    "#60d6c4", 
	"#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

config.front_end = "WebGpu"

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