diff --git a/home/wezterm.nix b/home/wezterm.nix index 7d3f690..69b626c 100644 --- a/home/wezterm.nix +++ b/home/wezterm.nix @@ -12,6 +12,13 @@ _G.shells = { fish = '${lib.getExe pkgs.fish}' }; + + wezterm.on('gui-startup', function(cmd) + local tab, pane, window = wezterm.mux.spawn_window(cmd or {}) + window:gui_window():maximize() + end) + + return { default_prog = { _G.shells.fish }, window_decorations = "NONE",