refactor(desktop): Don't launch EXWM via Emacs client

Launch EXWM directly in Emacs, instead of first launching an Emacs
server and connecting a client.

In cases where Emacs does not start correctly due to initialisation
errors the error message would never become visible without this change.
This commit is contained in:
Vincent Ambo 2018-09-16 16:52:16 +02:00
parent 754b487ee4
commit 8d918e48eb

View file

@ -29,8 +29,7 @@ in {
services.xserver.windowManager.session = lib.singleton {
name = "exwm";
start = ''
${emacs}/bin/emacs --daemon -f exwm-enable
${emacs}/bin/emacsclient -c
${emacs}/bin/emacs --eval '(progn (server-start) (exwm-enable))'
'';
};