gnu: emacs-exwm-x: Do not set DISPLAY.

* gnu/packages/emacs.scm (emacs-exwm-x): Do not set DISPLAY. The issue has
been fixed upstream in exwm-0.15.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
This commit is contained in:
Feng Shu 2017-08-04 20:52:16 +08:00 committed by Arun Isaac
parent e78e38a4bb
commit 91d94e28ec
No known key found for this signature in database
GPG Key ID: 2E25EE8B61802BB3
1 changed files with 0 additions and 3 deletions

View File

@ -4767,12 +4767,9 @@ other operations.")
TryExec=~@*~a~@ TryExec=~@*~a~@
Type=Application~%" ,name ,synopsis exwm-executable))) Type=Application~%" ,name ,synopsis exwm-executable)))
;; Add a shell wrapper to bin ;; Add a shell wrapper to bin
;; Set DISPLAY variable to work around
;; https://github.com/ch11ng/exwm/issues/213
(with-output-to-file exwm-executable (with-output-to-file exwm-executable
(lambda _ (lambda _
(format #t "#!~a ~@ (format #t "#!~a ~@
export DISPLAY=:0 ~@
~a +SI:localuser:$USER ~@ ~a +SI:localuser:$USER ~@
exec ~a --exit-with-session ~a \"$@\" --eval '~s' ~%" exec ~a --exit-with-session ~a \"$@\" --eval '~s' ~%"
(string-append (assoc-ref inputs "bash") "/bin/sh") (string-append (assoc-ref inputs "bash") "/bin/sh")