diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2020-09-16 18:17:40 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2020-09-16 18:17:40 +0100 |
commit | 53b9c82cc6f76cbfd960e5779e41cae939168bd6 (patch) | |
tree | 199042529ec0fa46e4e63187166dfcb5f95f3a65 /Scripts | |
parent | 7d2fd018bd05c5f732408bbfd4752e47b5c927c4 (diff) | |
download | dotfiles-53b9c82cc6f76cbfd960e5779e41cae939168bd6.tar.gz dotfiles-53b9c82cc6f76cbfd960e5779e41cae939168bd6.tar.bz2 dotfiles-53b9c82cc6f76cbfd960e5779e41cae939168bd6.zip |
+dmenu script for Emacs and eserver launching
Diffstat (limited to 'Scripts')
-rwxr-xr-x | Scripts/.local/scripts/eselect | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Scripts/.local/scripts/eselect b/Scripts/.local/scripts/eselect new file mode 100755 index 0000000..8eabef8 --- /dev/null +++ b/Scripts/.local/scripts/eselect @@ -0,0 +1,13 @@ +#!/bin/bash + +case "$(printf "new\nstop\nrestart" | dmenu -p "eserver: ")" in + "restart") + eserver restart; + notify-send "Restarted eserver";; + "stop") + eserver stop; + notify-send "Halted eserver";; + "new") + notify-send "Launching Emacs"; + eserver --create-frame -a=emacs;; +esac |