fix(emacs): add framework-specific wayland config

This commit is contained in:
Lucas Sta Maria 2025-08-15 09:54:05 +00:00
parent 93ff1e5c9f
commit 71c2465778
No known key found for this signature in database
GPG key ID: F07FB16A826E3B47

View file

@ -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)