You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

83 lines
1.8 KiB
Lua

3 months ago
local wezterm = require 'wezterm'
local config = wezterm.config_builder()
-- JellyBeans is not recognized
-- config.color_scheme = 'JellyBeans'
config.adjust_window_size_when_changing_font_size = false
-- Set the default starting directory when opening the terminal
-- config.default_cwd
-- The scroll bar is disabled by default but sometimes when you have really
-- long output I like it.
config.enable_scroll_bar = true
-- whether or not the tab bar is shown
config.enable_tab_bar = true
-- hide the tab bar in windows that have only one tab
config.hide_tab_bar_if_only_one_tab = true
config.font = wezterm.font('JetBrains Mono', { weight = 'Bold' })
3 months ago
config.font_size = 14
config.launch_menu = {
{
args = { 'lazydocker' },
}
}
config.keys = {
{
key = 'Enter',
mods = 'CMD',
action = wezterm.action.ToggleFullScreen,
},
}
config.native_macos_fullscreen_mode = true
config.scrollback_lines = 10000
config.tab_bar_at_bottom = true
-- config.initial_cols = 90
-- config.initial_rows = 24
config.window_padding = {
left = 0,
-- this becomes the width of the scrollbar
right = 0,
top = 0,
bottom = -8,
}
config.set_environment_variables = {
NERD_FONTS = "1",
}
config.force_reverse_video_cursor = true
config.colors = {
foreground = "#dcd7ba",
background = "#1f1f28",
cursor_bg = "#c8c093",
cursor_fg = "#c8c093",
cursor_border = "#c8c093",
selection_fg = "#c8c093",
selection_bg = "#2d4f67",
scrollbar_thumb = "#16161d",
split = "#16161d",
ansi = { "#090618", "#c34043", "#76946a", "#c0a36e", "#7e9cd8", "#957fb8", "#6a9589", "#c8c093" },
brights = { "#727169", "#e82424", "#98bb6c", "#e6c384", "#7fb4ca", "#938aa9", "#7aa89f", "#dcd7ba" },
indexed = { [16] = "#ffa066", [17] = "#ff5d62" },
}
3 months ago
return config