fix: launch env vars to launch as much stuff in wayland as possible

This commit is contained in:
Nova
2023-05-01 00:05:00 -04:00
parent 4d79a59b20
commit 70fef89e2d
2 changed files with 15 additions and 3 deletions

View File

@@ -180,6 +180,11 @@ fn main() -> Result<()> {
.file_name()
.expect("Stardust socket path not found"),
)
.env("GDK_BACKEND", "wayland")
.env("QT_QPA_PLATFORM", "wayland")
.env("MOZ_ENABLE_WAYLAND", "1")
.env("CLUTTER_BACKEND", "wayland")
.env("SDL_VIDEODRIVER", "wayland")
.spawn();
}