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) <noreply@anthropic.com>
This commit is contained in:
Scott Jones
2026-07-23 00:03:40 -04:00
co-authored by Claude Opus 4.8
parent 15318d261f
commit b1499e2950
+3
View File
@@ -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