aboutsummaryrefslogtreecommitdiff
path: root/Scripts/.local
diff options
context:
space:
mode:
Diffstat (limited to 'Scripts/.local')
-rwxr-xr-xScripts/.local/scripts/eselect13
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