mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
bin/org-capture: fix 'Display :0 can’t be opened' error
This commit is contained in:
@ -15,7 +15,8 @@
|
|||||||
(width . 70)
|
(width . 70)
|
||||||
(height . 25)
|
(height . 25)
|
||||||
(transient . t)
|
(transient . t)
|
||||||
,(if IS-LINUX '(display . ":0"))
|
,(when (and IS-LINUX (not (getenv "DISPLAY")))
|
||||||
|
`(display . ":0"))
|
||||||
,(if IS-MAC '(menu-bar-lines . 1)))
|
,(if IS-MAC '(menu-bar-lines . 1)))
|
||||||
"TODO")
|
"TODO")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user