aboutsummaryrefslogtreecommitdiff
path: root/Scripts/.local/scripts/eselect
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2022-09-14 00:04:20 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2022-09-14 00:45:42 +0100
commitad853af43b2cc3768419d493b7d041c48566110b (patch)
tree5c4995618f4c9a799068192df78ef313fc7d9b2b /Scripts/.local/scripts/eselect
parent63dbce1357bba3b7c288012db9908ab7194439fc (diff)
downloaddotfiles-ad853af43b2cc3768419d493b7d041c48566110b.tar.gz
dotfiles-ad853af43b2cc3768419d493b7d041c48566110b.tar.bz2
dotfiles-ad853af43b2cc3768419d493b7d041c48566110b.zip
(SXHkD|Scripts)~changed some details
~ made emacsclient calls with no alternate editors in eselect (confidence in server) ~ made notmuch option on eselect actually work properly ~ adjusted icons in status scripts
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 cfe58c9..8759896 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 "Halted Emacs server";;
"new")
notify-send "Launching Emacs";
- emacsclient -c --alternate-editor=emacs;;
+ emacsclient -c;;
"eshell")
notify-send "Launching Eshell";
- emacsclient -c --alternate-editor=emacs --eval '(let ((b (or (get-buffer "*eshell*") (eshell)))) (switch-to-buffer b))';;
+ emacsclient -c --eval '(let ((b (or (get-buffer "*eshell*") (eshell)))) (switch-to-buffer b))';;
"mail")
notify-send "Launching notmuch";
- emacsclient -c --alternate-editor=emacs --eval '(let ((b (or (get-buffer "*notmuch-hello*") (notmuch)))) (switch-to-buffer b))';;
+ emacsclient -c --eval '(let ((b (or (get-buffer "*notmuch-hello*") (progn (notmuch) (get-buffer "*notmuch-hello*"))))) (switch-to-buffer b))';;
esac