From 6e2696e47e9d112501e6bfa7bac389ad2f9b97b4 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Mon, 13 May 2024 17:03:40 +0530 Subject: (Scripts)~if no emacs server then use just general emacs --- Scripts/.local/scripts/eselect | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Scripts') 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 -- cgit v1.2.3-13-gbd6f