Files
dotfiles/wezterm/.config/wezterm/wezterm.lua

27 lines
721 B
Lua

local wezterm = require 'wezterm'
local config = {}
local theme = require('theme/init').main
-- Font configuration
config.font = wezterm.font 'JetBrainsMono Nerd Font'
config.font_size = 11.0
config.colors = theme.colors()
-- Window
config.enable_tab_bar = false
config.window_close_confirmation = 'NeverPrompt'
-- Wayland specific fixes
config.enable_wayland = true
-- Enable Kitty keyboard protocol for better key disambiguation (Ctrl+I vs Tab)
config.enable_kitty_keyboard = true
-- Machine-local overrides (not tracked in dotfiles)
-- Create ~/.config/wezterm/local.lua returning a function that mutates config
local ok, local_config = pcall(require, 'local')
if ok then local_config(config) end
return config