update zellij for launching and quitting automatically

This commit is contained in:
Noah Masur
2025-11-09 21:30:19 -06:00
parent c56bc30200
commit c13e029805

View File

@@ -53,6 +53,8 @@ in
}; };
}; };
programs.ghostty.settings.initial-command = lib.getExe pkgs.zellij;
xdg.configFile."zellij/layouts/compact-top.kdl".text = # kdl xdg.configFile."zellij/layouts/compact-top.kdl".text = # kdl
'' ''
layout { layout {
@@ -85,7 +87,7 @@ in
enableFishIntegration = true; enableFishIntegration = true;
enableZshIntegration = true; enableZshIntegration = true;
attachExistingSession = true; attachExistingSession = true;
exitShellOnExit = false; exitShellOnExit = true;
settings = { settings = {
default_mode = "locked"; default_mode = "locked";
@@ -188,7 +190,7 @@ in
"bind \"Alt Shift j\"" = { "bind \"Alt Shift j\"" = {
Run = { Run = {
_args = [ _args = [
(lib.getExe pkgs.lazyjj) (lib.getExe pkgs.jjui)
]; ];
close_on_exit = true; close_on_exit = true;
floating = true; floating = true;