ghostty: share warm-instance daemon across desktops
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
9dbb5ff433
commit
a283ab23de
2 changed files with 15 additions and 14 deletions
|
|
@ -48,4 +48,19 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
# Warm Ghostty instance — new windows attach via gtk-single-instance.
|
||||
systemd.user.services.ghostty-daemon = lib.mkIf isDesktop {
|
||||
Unit = {
|
||||
Description = "Ghostty warm instance (no window)";
|
||||
After = [ "graphical-session.target" ];
|
||||
PartOf = [ "graphical-session.target" ];
|
||||
};
|
||||
Service = {
|
||||
Type = "simple";
|
||||
ExecStart = "${pkgs.ghostty}/bin/ghostty --initial-window=false";
|
||||
Restart = "always";
|
||||
};
|
||||
Install.WantedBy = [ "graphical-session.target" ];
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue