From 71c24657780a1bffe6429d1302dbe4667d0f3d05 Mon Sep 17 00:00:00 2001 From: Lucas Sta Maria Date: Fri, 15 Aug 2025 09:54:05 +0000 Subject: [PATCH] fix(emacs): add framework-specific wayland config --- .emacs.d/include/priime-general.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.emacs.d/include/priime-general.el b/.emacs.d/include/priime-general.el index 82ff0a4..a4e4d84 100644 --- a/.emacs.d/include/priime-general.el +++ b/.emacs.d/include/priime-general.el @@ -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)