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 9626408 commit d199755Copy full SHA for d199755
bin/omarchy-launch-editor
@@ -6,6 +6,15 @@ 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 running open a new frame instead of whole new
11
+ # emacs.
12
+ if systemctl --user is-active emacs.service >/dev/null 2>&1; then
13
+ exec setsid uwsm-app -- emacsclient -n -r "$@"
14
+ else
15
+ exec setsid uwsm-app -- emacs "$@"
16
+ fi
17
+ ;;
18
*)
19
exec setsid uwsm-app -- "$EDITOR" "$@"
20
0 commit comments