local wez = require 'wezterm' return function ( cfg ) ---@cast cfg Config cfg.inactive_pane_hsb = { saturation = 0.42, brightness = 0.69, } cfg.check_for_updates = false cfg.enable_kitty_keyboard = true cfg.bypass_mouse_reporting_modifiers = 'ALT' cfg.audible_bell = 'Disabled' cfg.notification_handling = 'SuppressFromFocusedTab' cfg.warn_about_missing_glyphs = false cfg.visual_bell = { fade_in_duration_ms = 69, fade_out_duration_ms = 69, target = 'CursorColor', } cfg.unzoom_on_switch_pane = true if wez.target_triple:find( 'windows', 1, true ) then -- OpenGL causes rendering artifacts on Win32. cfg.front_end = 'WebGpu' end if wez.hostname() == 'x230' then cfg.font_size = 11 else cfg.font_size = 13 end end