wezterm/.wezterm.lua 1.9 K raw
1
local wezterm = require 'wezterm'
2
3
local config = {}
4
5
if wezterm.config_builder then
6
  config = wezterm.config_builder()
7
end
8
9
config.warn_about_missing_glyphs = false
10
11
-- config.color_scheme = 'Compline'
12
-- config.color_schemes = {
13
--   ["Compline"] = {
14
--     foreground = "#f0efeb",
15
--     background = "#1a1d21",
16
--     cursor_fg = "#1a1d21",
17
--     cursor_bg = "#d4ccb4",
18
--     cursor_border = "#d4ccb4",
19
--     selection_fg = "#f0efeb",
20
--     selection_bg = "#3d424a",
21
--     ansi = {
22
--       "#22262b", "#cdacac", "#b8c4b8", "#d4ccb4",
23
--       "#b4bcc4", "#ccc4b4", "#b4c0c8", "#8b919a"
24
--     },
25
--     brights = {
26
--       "#515761", "#cdacac", "#b8c4b8", "#d4ccb4",
27
--       "#b4bcc4", "#ccc4b4", "#b4c0c8", "#e0dcd4"
28
--     }
29
--   }
30
-- }
31
32
-- config.color_scheme = "Poimandres"
33
config.color_scheme = 'Darkmatter'
34
config.color_schemes = {
35
  ["Darkmatter"] = {
36
    foreground = "#ffffff",
37
    background = "#121113",
38
    cursor_fg = "#121113",
39
    cursor_bg = "#ffffff",
40
    cursor_border = "#ffffff",
41
    selection_fg = "#000000",
42
    selection_bg = "#222222",
43
    ansi = {
44
      "#121113", "#5f8787", "#fbcb97", "#e78a53",
45
      "#888888", "#999999", "#aaaaaa", "#c1c1c1"
46
    },
47
    brights = {
48
      "#333333", "#5f8787", "#fbcb97", "#e78a53",
49
      "#888888", "#999999", "#aaaaaa", "#c1c1c1"
50
    }
51
  }
52
}
53
54
config.font = wezterm.font('BerkeleyMono Nerd Font')
55
config.font_size = 14
56
57
58
config.enable_tab_bar = false
59
config.window_decorations = "RESIZE"
60
config.window_padding = {
61
  left = 10,
62
  right = 10,
63
  top = 4,
64
  bottom = 4
65
}
66
67
config.initial_cols = 85
68
config.initial_rows = 30
69
70
-- config.default_prog = { '/opt/homebrew/bin/nu' }
71
--
72
config.keys = {
73
  {
74
    key = 'k',
75
    mods = 'SUPER',
76
    action = wezterm.action.Multiple {
77
      wezterm.action.SendKey { key = 'q', mods = 'CTRL' },  -- send prefix (C-q)
78
      wezterm.action.SendKey { key = 'T' },                  -- send T
79
    },
80
  },
81
}
82
83
return config