aboutsummaryrefslogtreecommitdiff
path: root/Scripts/.local/scripts
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2021-07-25 15:36:56 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2021-07-25 15:44:48 +0100
commit218f8e49d1699ba585ffd4cc318572f324c7d3de (patch)
tree744c1555e53a09f64cb6a8f7f838ca481e7c878d /Scripts/.local/scripts
parente5cc2ec33db5b674eda80c5ba45230889e64932e (diff)
downloaddotfiles-218f8e49d1699ba585ffd4cc318572f324c7d3de.tar.gz
dotfiles-218f8e49d1699ba585ffd4cc318572f324c7d3de.tar.bz2
dotfiles-218f8e49d1699ba585ffd4cc318572f324c7d3de.zip
(Scripts)+eselect option for notmuch mail
Diffstat (limited to 'Scripts/.local/scripts')
-rwxr-xr-xScripts/.local/scripts/eselect5
1 files changed, 4 insertions, 1 deletions
diff --git a/Scripts/.local/scripts/eselect b/Scripts/.local/scripts/eselect
index d086b7e..cfe58c9 100755
--- a/Scripts/.local/scripts/eselect
+++ b/Scripts/.local/scripts/eselect
@@ -1,6 +1,6 @@
#!/bin/sh
-case "$(printf "new\nstop\nrestart\neshell" | dmenu -p "eserver: ")" in
+case "$(printf "new\nstop\nrestart\neshell\nmail" | dmenu -p "eserver: ")" in
"restart")
systemctl --user restart emacs;
notify-send "Restarted Emacs server";;
@@ -13,4 +13,7 @@ case "$(printf "new\nstop\nrestart\neshell" | dmenu -p "eserver: ")" in
"eshell")
notify-send "Launching Eshell";
emacsclient -c --alternate-editor=emacs --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))';;
esac