dotfiles/home/private_dot_config/wezterm/wezterm.lua
2023-06-15 10:05:47 -05:00

30 lines
787 B
Lua

local wezterm = require("wezterm")
local catppuccin = require("colors/catppuccin").setup({})
local keys = require("keys")
-- add wezterm to title for wm usage
wezterm.on("format-window-title", function()
return " - Wezterm"
end)
local padding = 10
return {
-- window_background_opacity = 0.9,
window_padding = {
left = padding,
right = padding,
top = padding,
bottom = padding,
},
font = wezterm.font("MonoLisa Nerd Font"),
adjust_window_size_when_changing_font_size = false,
initial_cols = 80,
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,
default_gui_startup_args = { "start", "--always-new-process" },
keys = keys.keys,
}