38 lines
1.1 KiB
Lua
38 lines
1.1 KiB
Lua
-- Pull in the wezterm API
|
|
local wezterm = require("wezterm")
|
|
|
|
-- This will hold the configuration.
|
|
local config = wezterm.config_builder()
|
|
local act = wezterm.action
|
|
|
|
config.keys = {
|
|
{ key = 'LeftArrow', mods = 'SHIFT|ALT', action=wezterm.action{ActivateTabRelative=-1} },
|
|
{ key = 'RightArrow', mods = 'SHIFT|ALT', action=wezterm.action{ActivateTabRelative=1} },
|
|
}
|
|
-- This is where you actually apply your config choices
|
|
|
|
-- For example, changing the color scheme:
|
|
config.colors = {
|
|
foreground = "#CBE0F0",
|
|
background = "#011423",
|
|
cursor_bg = "#47FF9C",
|
|
cursor_border = "#47FF9C",
|
|
cursor_fg = "#011423",
|
|
selection_bg = "#706b4e",
|
|
selection_fg = "#f3d9c4",
|
|
ansi = { "#214969", "#E52E2E", "#44FFB1", "#FFE073", "#0FC5ED", "#a277ff", "#24EAF7", "#24EAF7" },
|
|
brights = { "#214969", "#E52E2E", "#44FFB1", "#FFE073", "#A277FF", "#a277ff", "#24EAF7", "#24EAF7" },
|
|
}
|
|
|
|
config.font = wezterm.font("Hack Nerd Font Mono")
|
|
config.font_size = 10
|
|
|
|
config.enable_tab_bar = false
|
|
|
|
config.window_decorations = "RESIZE"
|
|
config.window_background_opacity = 0.95
|
|
config.macos_window_background_blur = 10
|
|
|
|
-- and finally, return the configuration to wezterm
|
|
return config
|