From b1499e295018ae7b78294f5a441b8a52f7e610bb Mon Sep 17 00:00:00 2001 From: Scott Jones Date: Wed, 22 Jul 2026 18:44:51 -0400 Subject: [PATCH] Open Emacs after installing from the menu Match the other editors (VSCode/Zed/Cursor) by launching once install finishes. Uses gtk-launch emacsclient so it opens a frame on the emacs.service daemon that omarchy-install-emacs just started, rather than spawning a second standalone instance. Co-Authored-By: Claude Opus 4.8 (1M context) --- bin/omarchy-install-editor-emacs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/omarchy-install-editor-emacs b/bin/omarchy-install-editor-emacs index 94e5bffb..d932d04d 100755 --- a/bin/omarchy-install-editor-emacs +++ b/bin/omarchy-install-editor-emacs @@ -4,3 +4,6 @@ echo "Installing Emacs..." omarchy-pkg-aur-add omarchy-emacs && omarchy-install-emacs + +# emacsclient opens a frame on the running daemon, not a second Emacs +setsid gtk-launch emacsclient