dotfiles/config/wezterm/wezterm.lua

32 lines
1 KiB
Lua
Raw Permalink Normal View History

2026-07-30 00:08:34 -04:00
local wezterm = require 'wezterm'
local config = {}
config.color_scheme = 'OceanicNext (base16)'
2026-07-30 04:40:03 -04:00
-- config.font = wezterm.font 'FiraCode Nerd Font Mono'
config.font = wezterm.font_with_fallback {
2026-08-06 17:32:10 -04:00
{ family = "FiraCode Nerd Font Mono", harfbuzz_features = { "calt=1", "clig=1", "liga=1" } },
2026-07-30 04:40:03 -04:00
{ family = "Noto Color Emoji", assume_emoji_presentation = true },
}
2026-08-06 17:32:10 -04:00
config.font_size = 16
2026-07-30 00:08:34 -04:00
config.enable_tab_bar = false
2026-08-02 12:41:30 -04:00
config.audible_bell = "Disabled"
2026-07-30 00:08:34 -04:00
2026-07-30 04:40:03 -04:00
-- Wayland-specific settings
config.enable_wayland = true
config.window_decorations = "NONE"
2026-08-01 12:36:16 -04:00
-- Fix F7/F8 not working in tcell-based TUI apps (e.g. senpai)
-- Disable kitty keyboard protocol and use legacy CSI sequences
config.enable_kitty_keyboard = false
-- Send the standard VT/terminfo sequences for function keys (e.g. F7=\E[18~, F8=\E[19~)
-- that tcell-based apps expect
config.keys = {
{ key = 'F7', mods = '', action = wezterm.action.SendString('\x1b[18~') },
{ key = 'F8', mods = '', action = wezterm.action.SendString('\x1b[19~') },
}
2026-07-30 00:08:34 -04:00
return config