pass DSIPLAY envvar to kitty process Getting the following error when running emacs-wayland: Process kitty exited abnormally with code 1 [0.044] [glfw error 65544]: X11: The DISPLAY environment variable is missing GLFW initialization failed
1 files changed, 5 insertions(+), 4 deletions(-) M lisp/keys.el
M lisp/keys.el => lisp/keys.el +5 -4
@@ 69,10 69,11 @@ (global-set-key (kbd "C-M-<return>") (lambda () (interactive) (start-process "kitty" "*kitty*" "/usr/bin/kitty"))) ;TODO: don't use absolute path (with-environment-variables (("DISPLAY" ":0")) (start-process "kitty" "*kitty*" "/usr/bin/kitty")))) ;TODO: don't use absolute path ;; I don't always know where my frames are, and I want a way to kill Emacs 100% ;; of the time