(Scripts)~eserver -> eselect
Remove eserver cos it's useless and integrate emacsclient into eselect
This commit is contained in:
@@ -2,12 +2,14 @@
|
||||
|
||||
case "$(printf "new\nstop\nrestart" | dmenu -p "eserver: ")" in
|
||||
"restart")
|
||||
eserver restart;
|
||||
notify-send "Restarted eserver";;
|
||||
emacsclient -s MAIN --eval "(kill-emacs)";
|
||||
notify-send "Halted Emacs server";
|
||||
emacs --bg-daemon=MAIN;
|
||||
notify-send "Restarted Emacs server";;
|
||||
"stop")
|
||||
eserver stop;
|
||||
notify-send "Halted eserver";;
|
||||
emacsclient -s MAIN --eval "(kill-emacs)";
|
||||
notify-send "Halted Emacs server";;
|
||||
"new")
|
||||
notify-send "Launching Emacs";
|
||||
eserver --create-frame -a=emacs;;
|
||||
emacsclient -s MAIN -c -a=emacs;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user