Skip to content

Commit ea9d7cc

Browse files
committed
fix(ghostty): stay open after startup exits
1 parent fd78496 commit ea9d7cc

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

config/ghostty/behavior.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ focus-follows-mouse = true
2222
mouse-hide-while-typing = false
2323

2424
# Window Management
25-
# Generated by Nix based on the active startup owner.
25+
quit-after-last-window-closed = false
2626

2727
# Startup command is injected by nix in modules/desktop/term/ghostty.nix.
2828
# Herdr owns startup when enabled; otherwise the next enabled owner (jmux/tmux) owns it directly.

modules/desktop/term/ghostty/default.nix

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,9 +218,6 @@ in
218218
env=PATH=${nixPath}
219219
env=TERMINFO_DIRS=${terminfoPath}
220220
221-
# Keep Ghostty running if its Herdr-owned surface exits.
222-
quit-after-last-window-closed = ${if useHerdr then "false" else "true"}
223-
224221
# Startup command override (auto-generated by nix)
225222
# Startup owner: Herdr when enabled; otherwise the next enabled owner directly.
226223
command = ${ghosttyStartupCommand}

0 commit comments

Comments
 (0)