dotfiles/home/private_dot_config/wezterm/wezterm.lua

32 lines
842 B
Lua
Raw Normal View History

2022-06-13 12:26:11 -05:00
local wezterm = require("wezterm")
2022-12-14 10:46:24 -06:00
local catppuccin = require("colors/catppuccin").setup({})
2022-07-05 09:42:30 -05:00
local keys = require("keys")
2022-06-13 12:26:11 -05:00
-- add wezterm to title for wm usage
2022-12-14 10:46:24 -06:00
wezterm.on("format-window-title", function()
return " - Wezterm"
end)
2022-06-13 12:26:11 -05:00
local padding = 10
return {
2022-12-14 10:46:24 -06:00
-- window_background_opacity = 0.9,
2022-06-13 12:26:11 -05:00
window_padding = {
left = padding,
right = padding,
top = padding,
bottom = padding,
},
2022-08-13 14:40:50 -05:00
font = wezterm.font("MonoLisa Nerd Font"),
2022-06-13 12:26:11 -05:00
adjust_window_size_when_changing_font_size = false,
2022-09-02 16:09:53 -05:00
initial_cols = 80,
2022-06-13 12:26:11 -05:00
colors = catppuccin,
use_fancy_tab_bar = false,
hide_tab_bar_if_only_one_tab = true,
tab_bar_at_bottom = true,
disable_default_key_bindings = true,
bold_brightens_ansi_colors = true,
2022-12-14 10:46:24 -06:00
default_gui_startup_args = { "start", "--always-new-process" },
2022-07-05 09:42:30 -05:00
keys = keys.keys,
key_tables = keys.key_tables,
2022-06-13 12:26:11 -05:00
}