bin/org-capture: fix 'Display :0 can’t be opened' error

This commit is contained in:
Henrik Lissner 2020-06-01 14:46:13 -04:00
parent c5b561f796
commit 27544d21cb
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -15,7 +15,8 @@
(width . 70)
(height . 25)
(transient . t)
,(if IS-LINUX '(display . ":0"))
,(when (and IS-LINUX (not (getenv "DISPLAY")))
`(display . ":0"))
,(if IS-MAC '(menu-bar-lines . 1)))
"TODO")