-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.wezterm.lua
More file actions
32 lines (26 loc) · 808 Bytes
/
.wezterm.lua
File metadata and controls
32 lines (26 loc) · 808 Bytes
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
-- Pull in the wezterm API
local wezterm = require("wezterm")
-- This will hold the configuration.
local config = wezterm.config_builder()
local gpus = wezterm.gui.enumerate_gpus()
config.enable_wayland = true
config.webgpu_preferred_adapter = gpus[0]
config.front_end = "WebGpu"
-- This is where you actually apply your config choices
config.color_scheme = "Gruvbox dark, soft (base16)"
config.font = wezterm.font("FiraCode Nerd Font")
config.hide_tab_bar_if_only_one_tab = true
config.keys = {
{
key = "d",
mods = "CTRL|SHIFT",
action = wezterm.action.SplitHorizontal({ domain = "CurrentPaneDomain" }),
},
{
key = "a",
mods = "CTRL|SHIFT",
action = wezterm.action.SplitVertical({ domain = "CurrentPaneDomain" }),
},
}
-- and finally, return the configuration to wezterm
return config