wezterm.lua
1 local wezterm = require 'wezterm' 2 local config = wezterm.config_builder() 3 local mux = wezterm.mux 4 5 wezterm.on("gui-startup", function() 6 local _, _, window = mux.spawn_window{} 7 window:gui_window():maximize() 8 end) 9 10 config.font = wezterm.font "JetBrains Mono" 11 config.freetype_load_target = "Normal" 12 config.font_size = 12.5 13 config.line_height = 1.3 14 -- config.color_scheme = 'Vs Code Dark+ (Gogh)' 15 config.color_scheme = 'rose-pine-dawn' 16 config.warn_about_missing_glyphs = false 17 18 config.enable_wayland = true 19 config.front_end = "WebGpu" 20 21 -- spawn zellij as the default shell 22 config.default_prog = { 'zellij' } 23 24 config.enable_tab_bar = false 25 config.window_decorations = "RESIZE" 26 27 local padding = 4 28 config.window_padding = { 29 top = padding, 30 left = padding, 31 right = padding, 32 bottom = padding, 33 } 34 35 return config