local wez = require 'wezterm' return function ( cfg ) cfg.default_cwd = wez.home_dir cfg.inactive_pane_hsb = { saturation = 0.42, brightness = 0.69, } cfg.check_for_updates = false cfg.enable_kitty_keyboard = not wez.target_triple:find( 'windows', 1, true ) cfg.audible_bell = 'Disabled' cfg.notification_handling = 'AlwaysShow' 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 cfg.scrollback_lines = 100000 -- Prefer native Wayland only when launched from a Linux Wayland session. -- Leaves X11, macOS, and Windows alone. if wez.target_triple:find( 'linux', 1, true ) and os.getenv 'WAYLAND_DISPLAY' then cfg.enable_wayland = true end cfg.font_size = 13 end