local code_font = require 'bugabinga.code_font' local wezterm = require 'wezterm' local mux = wezterm.mux wezterm.on('gui-startup', function(cmd) local tab, pane, window = mux.spawn_window(cmd or {}) window:gui_window():maximize() -- Create a split occupying the right 1/3 of the screen pane:split { size = 0.123 } pane:activate() end) return function ( cfg ) cfg.font_size = 16 cfg.font = code_font.random(); cfg.window_decorations = 'RESIZE' end