fix(emacs): add framework-specific wayland config
This commit is contained in:
parent
93ff1e5c9f
commit
71c2465778
1 changed files with 6 additions and 0 deletions
|
@ -195,6 +195,12 @@
|
|||
(keymap-global-unset "C--")
|
||||
(keymap-global-set "C--" #'priime-font-)
|
||||
|
||||
(when (string= (system-name) "framework")
|
||||
(setenv "DISPLAY" ":0")
|
||||
(setenv "WAYLAND_DISPLAY" "wayland-1")
|
||||
(setenv "XDG_SESSION_TYPE" "wayland")
|
||||
(setenv "GDK_BACKEND" "wayland"))
|
||||
|
||||
(priime-font-reload))
|
||||
|
||||
(provide 'priime-general)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue