fixing cosmic rendering

This commit is contained in:
Chris Cochrun 2024-11-14 13:56:37 -06:00
parent dfe8e018dc
commit 3cd0e52906
2 changed files with 12 additions and 0 deletions

View file

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

View file

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