aboutsummaryrefslogtreecommitdiff
path: root/Scripts/.local/scripts/eselect
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-05-13 17:03:40 +0530
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-05-13 17:03:40 +0530
commit6e2696e47e9d112501e6bfa7bac389ad2f9b97b4 (patch)
treeaa6867a5a2a9248ec8056cb80b778d3cec75c549 /Scripts/.local/scripts/eselect
parentef5ac4371aff99a11e6dfaf016d201707918ff43 (diff)
downloaddotfiles-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-xScripts/.local/scripts/eselect6
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