local config = {} if wezterm.config_builder then config = wezterm.config_builder() end config.color_scheme = 'stylix' config.font = wezterm.font_with_fallback { "Maple Mono Normal NF", "ComicCodeLigatures Nerd Font", "JetBrains Mono Nerd Font Mono", } config.enable_wayland = true config.enable_tab_bar = false config.underline_thickness = "2pt" config.enable_kitty_keyboard = true config.visual_bell = { fade_in_function = 'EaseIn', fade_in_duration_ms = 150, fade_out_function = 'EaseOut', fade_out_duration_ms = 150, } config.keys = { { key = "UpArrow", mods = "SHIFT", action = wezterm.action.ScrollByLine(-1), }, { key = "DownArrow", mods = "SHIFT", action = wezterm.action.ScrollByLine(1), }, } config.front_end = "WebGpu" -- https://github.com/wezterm/wezterm/issues/6685 wezterm.on( 'window-focus-changed', function(window, pane) wezterm.run_child_process { 'sh', '-c', 'wl-paste -n | wl-copy' } end ) return config