diff --git a/platforms/home-manager/modules/nmasur/presets/programs/zellij.nix b/platforms/home-manager/modules/nmasur/presets/programs/zellij.nix index 144fcde..21d5261 100644 --- a/platforms/home-manager/modules/nmasur/presets/programs/zellij.nix +++ b/platforms/home-manager/modules/nmasur/presets/programs/zellij.nix @@ -65,6 +65,7 @@ in # exitShellOnExit = true; settings = { + default_mode = "locked"; # default_layout = "compact-top"; # Remove border pane_frames = false; @@ -98,6 +99,18 @@ in keybinds = { normal = { }; + session = { + "bind \"w\"" = { + LaunchOrFocusPlugin = { + _args = [ "session-manager" ]; + floating = true; + move_to_focused_tab = true; + }; + SwitchToMode = { + _args = [ "locked" ]; + }; + }; + }; shared = { "bind \"Alt Shift p\"" = { "Run" = {