ghostty single instance

This commit is contained in:
2026-08-07 14:44:48 +09:00
parent ca36b07839
commit 16e3fda275
+7 -1
View File
@@ -1,6 +1,12 @@
{ inputs, system, ... }: { { inputs, system, ... }: {
programs.ghostty = { programs.ghostty = {
systemd.enable = true; # Labwc's Close action correctly targets one xdg-toplevel, but Ghostty's
# systemd service runs every window in one GTK single-instance process.
# If that process exits while handling the request, every Ghostty window
# disappears together. Keep each launcher invocation independent instead.
systemd.enable = false;
package = inputs.ghostty.packages.${system}.default; package = inputs.ghostty.packages.${system}.default;
settings.gtk-single-instance = false;
}; };
} }