Files
wezterm-config/config/window.lua
T
2024-10-01 10:04:00 -04:00

62 lines
1.4 KiB
Lua

-- ╭─────────────────────────────────────────────────────────╮
-- │ WINDOW │
-- ╰─────────────────────────────────────────────────────────╯
local wezterm = WEZTERM
local gpus = wezterm.gui.enumerate_gpus()
return {
-- Set the initial size
initial_cols = 180,
initial_rows = 38,
tab_max_width = 60,
tab_bar_at_bottom = false,
unicode_version = 14,
-- Resize by cell
use_resize_increments = true,
-- Use Retro tab bar
use_fancy_tab_bar = false,
-- Set the window padding
window_padding = {
left = "0%",
right = "0%",
top = "0%",
bottom = "0%",
},
-- Set the animation framerate
animation_fps = 120,
-- Window Decorations
window_decorations = "TITLE | RESIZE",
-- Visual Bell
visual_bell = {
fade_in_duration_ms = 75,
fade_out_duration_ms = 75,
target = "CursorColor",
},
-- Audible Bell
audible_bell = "SystemBeep",
-- Terminal Variable
term = "wezterm",
--Honor kitty protocol inputs
enable_kitty_keyboard = true,
-- Rendering
front_end = "WebGpu",
-- front_end = "OpenGL",
webgpu_power_preference = "HighPerformance",
webgpu_preferred_adapter = gpus[1],
-- Scrollback Lines
scrollback_lines = 20000,
}