diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-05-13 17:03:40 +0530 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-05-13 17:03:40 +0530 |
commit | 6e2696e47e9d112501e6bfa7bac389ad2f9b97b4 (patch) | |
tree | aa6867a5a2a9248ec8056cb80b778d3cec75c549 /Scripts/.local/scripts/eselect | |
parent | ef5ac4371aff99a11e6dfaf016d201707918ff43 (diff) | |
download | dotfiles-6e2696e47e9d112501e6bfa7bac389ad2f9b97b4.tar.gz dotfiles-6e2696e47e9d112501e6bfa7bac389ad2f9b97b4.tar.bz2 dotfiles-6e2696e47e9d112501e6bfa7bac389ad2f9b97b4.zip |
(Scripts)~if no emacs server then use just general emacs
Diffstat (limited to 'Scripts/.local/scripts/eselect')
-rwxr-xr-x | Scripts/.local/scripts/eselect | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Scripts/.local/scripts/eselect b/Scripts/.local/scripts/eselect index 0f2d682..7bd4016 100755 --- a/Scripts/.local/scripts/eselect +++ b/Scripts/.local/scripts/eselect @@ -9,11 +9,11 @@ case "$(printf "new\nstop\nrestart\neshell\nmail" | dmenu -p "eserver: ")" in notify-send "eselect: Halted Emacs server";; "new") notify-send "eselect: Launching Emacs"; - emacsclient -c;; + emacsclient -c -a emacs;; "eshell") notify-send "eselect: Launching Eshell"; - emacsclient -c --eval '(let ((b (or (get-buffer "*eshell*") (eshell)))) (switch-to-buffer b))';; + emacsclient -c -a emacs --eval '(let ((b (or (get-buffer "*eshell*") (eshell)))) (switch-to-buffer b))';; "mail") notify-send "eselect: Launching notmuch"; - emacsclient -c --eval '(let ((b (or (get-buffer "*notmuch-hello*") (progn (notmuch) (get-buffer "*notmuch-hello*"))))) (switch-to-buffer b))';; + emacsclient -c -a emacs --eval '(let ((b (or (get-buffer "*notmuch-hello*") (progn (notmuch) (get-buffer "*notmuch-hello*"))))) (switch-to-buffer b))';; esac |