dotfiles/home/private_dot_config/wezterm/wezterm.lua

31 lines
809 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
2024-01-22 17:14:08 -06:00
-- -- add wezterm to title for wm usage
-- wezterm.on("format-window-title", function()
-- return " - Wezterm"
-- end)
--
2022-06-13 12:26:11 -05:00
local padding = 10
return {
2023-08-04 09:20:31 -05:00
-- -- window_background_opacity = 0.9,
2023-04-24 09:59:25 -05:00
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,
2023-08-04 09:20:31 -05:00
-- disable_default_key_bindings = true,
2023-04-24 09:59:25 -05:00
bold_brightens_ansi_colors = true,
default_gui_startup_args = { "start", "--always-new-process" },
keys = keys.keys,
2022-06-13 12:26:11 -05:00
}