We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a810608 commit 8630746Copy full SHA for 8630746
bin/omarchy-launch-editor
@@ -6,6 +6,14 @@ case "$EDITOR" in
6
nvim | vim | nano | micro | hx | helix)
7
exec omarchy-launch-tui "$EDITOR" "$@"
8
;;
9
+emacs)
10
+ # If emacs.service is active open a new frame instead of a whole new emacs.
11
+ if systemctl --user is-active emacs.service >/dev/null 2>&1; then
12
+ exec setsid uwsm-app -- emacsclient -n -r "$@"
13
+ else
14
+ exec setsid uwsm-app -- emacs "$@"
15
+ fi
16
+ ;;
17
*)
18
exec setsid uwsm-app -- "$EDITOR" "$@"
19
0 commit comments