aboutsummaryrefslogtreecommitdiff
path: root/Scripts/.local/scripts/eselect
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-07-31 17:49:52 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-07-31 17:49:52 +0100
commit714e8d74ec05f44739f865e9389034180392abe7 (patch)
tree2e0a198e4d6f24e8b6ca6b77797052558330639e /Scripts/.local/scripts/eselect
parenta1b6ba53b612775b70badef722e0c9703dac178c (diff)
downloaddotfiles-714e8d74ec05f44739f865e9389034180392abe7.tar.gz
dotfiles-714e8d74ec05f44739f865e9389034180392abe7.tar.bz2
dotfiles-714e8d74ec05f44739f865e9389034180392abe7.zip
Big push
Diffstat (limited to 'Scripts/.local/scripts/eselect')
-rwxr-xr-xScripts/.local/scripts/eselect16
1 files changed, 8 insertions, 8 deletions
diff --git a/Scripts/.local/scripts/eselect b/Scripts/.local/scripts/eselect
index d3f62c9..b717dc0 100755
--- a/Scripts/.local/scripts/eselect
+++ b/Scripts/.local/scripts/eselect
@@ -2,19 +2,19 @@
case "$(printf "new\nstop\nrestart\neshell\nmail" | dmenu -p "eserver: ")" in
"restart")
- emacsclient --eval "(save-buffers-kill-emacs)";
- emacs --bg-daemon;
- notify-send "eselect: Restarted Emacs server";;
+ emacsclient --eval "(save-buffers-kill-emacs)" && \
+ emacs --bg-daemon && \
+ notify-send "eselect: Restarted Emacs server";;
"stop")
- emacsclient --eval "(save-buffers-kill-emacs)";
- notify-send "eselect: Halted Emacs server";;
+ emacsclient --eval "(save-buffers-kill-emacs)" && \
+ notify-send "eselect: Halted Emacs server";;
"new")
- notify-send "eselect: Launching Emacs";
+ notify-send "eselect: Launching Emacs" && \
emacsclient -c -a "";;
"eshell")
- notify-send "eselect: Launching Eshell";
+ notify-send "eselect: Launching Eshell" && \
emacsclient -c -a "" --eval "(progn (eshell) (delete-other-windows))";;
"mail")
- notify-send "eselect: Launching notmuch";
+ notify-send "eselect: Launching notmuch" && \
emacsclient -c -a "" --eval "(progn (notmuch) (delete-other-windows))";;
esac