From 3cd0e529067bc37c4b4a66ead35fbd5619378d85 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Thu, 14 Nov 2024 13:56:37 -0600 Subject: [PATCH] fixing cosmic rendering --- README.org | 6 ++++++ init.el | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/README.org b/README.org index eb4b70c2..504ef8e6 100644 --- a/README.org +++ b/README.org @@ -424,6 +424,12 @@ I am currently using NixOS. In order for emacs to have access to certain program (setenv "NIX_REMOTE" "daemon") (setenv "XCURSOR_THEME" "phinger-cursors-light") (setenv "QT_SCALE_FACTOR" "1") +(setenv "QT_QPA_PLATFORM" "wayland;xcb") +(setenv "CLUTTER_BACKEND" "wayland") +(setenv "GDK_BACKEND" "wayland,x11") +(setenv "SDL_VIDEODRIVER" "wayland") +(setenv "WAYLAND_DISPLAY" "wayland-1") +(setenv "XDG_SESSION_TYPE" "wayland") (defun chris/nix-reload () (interactive) diff --git a/init.el b/init.el index 92f8688b..f77d5ba6 100644 --- a/init.el +++ b/init.el @@ -210,6 +210,12 @@ (setenv "NIX_REMOTE" "daemon") (setenv "XCURSOR_THEME" "phinger-cursors-light") (setenv "QT_SCALE_FACTOR" "1") +(setenv "QT_QPA_PLATFORM" "wayland;xcb") +(setenv "CLUTTER_BACKEND" "wayland") +(setenv "GDK_BACKEND" "wayland,x11") +(setenv "SDL_VIDEODRIVER" "wayland") +(setenv "WAYLAND_DISPLAY" "wayland-1") +(setenv "XDG_SESSION_TYPE" "wayland") (defun chris/nix-reload () (interactive)