Compare commits
2 Commits
ef54cca933
...
2dcc8b409f
Author | SHA1 | Date | |
---|---|---|---|
2dcc8b409f | |||
b7c6aad764 |
12
emacs-server-set-wayland-display.zsh
Executable file
12
emacs-server-set-wayland-display.zsh
Executable file
@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env zsh
|
||||
|
||||
setopt rcquotes
|
||||
|
||||
printf '%s' "${WAYLAND_DISPLAY}" |
|
||||
/usr/bin/emacs --batch --insert=/dev/fd/0 \
|
||||
--eval \
|
||||
'(let ((wayland-display (buffer-string)))
|
||||
(require ''server)
|
||||
(server-eval-at
|
||||
"server"
|
||||
`(setenv "WAYLAND_DISPLAY" ,wayland-display)))'
|
Loading…
Reference in New Issue
Block a user