diff --git a/modules/lang/org/autoload/org-capture.el b/modules/lang/org/autoload/org-capture.el index c6b00a11a..ed67ac1d6 100644 --- a/modules/lang/org/autoload/org-capture.el +++ b/modules/lang/org/autoload/org-capture.el @@ -17,7 +17,9 @@ (transient . t) ,@(when IS-LINUX `((window-system . ,(if (boundp 'pgtk-initialized) 'pgtk 'x)) - (display . ,(or (getenv "DISPLAY") ":0")))) + (display . ,(or (getenv "WAYLAND_DISPLAY") + (getenv "DISPLAY") + ":0")))) ,(if IS-MAC '(menu-bar-lines . 1))) "TODO")