bin/org-capture: fix 'Display :0 can’t be opened' error
This commit is contained in:
parent
c5b561f796
commit
27544d21cb
1 changed files with 2 additions and 1 deletions
|
@ -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")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue