Add wayland support for electron apps via env var

This commit is contained in:
Sravan Balaji
2025-04-28 21:20:17 -04:00
parent 2c0c5dbbbc
commit 3843a02cee
2 changed files with 6 additions and 0 deletions

View File

@@ -9736,6 +9736,9 @@ export QT_WAYLAND_DISABLE_WINDOWDECORATION=0
export QT_QPA_PLATFORMTHEME=qt6ct export QT_QPA_PLATFORMTHEME=qt6ct
export SDL_VIDEODRIVER=wayland export SDL_VIDEODRIVER=wayland
export CLUTTER_BACKEND=wayland export CLUTTER_BACKEND=wayland
# Native Wayland Support for Most Electron Apps
export ELECTRON_OZONE_PLATFORM_HINT=auto
#+END_SRC #+END_SRC
**** Hyprland **** Hyprland

View File

@@ -19,3 +19,6 @@ export QT_WAYLAND_DISABLE_WINDOWDECORATION=0
export QT_QPA_PLATFORMTHEME=qt6ct export QT_QPA_PLATFORMTHEME=qt6ct
export SDL_VIDEODRIVER=wayland export SDL_VIDEODRIVER=wayland
export CLUTTER_BACKEND=wayland export CLUTTER_BACKEND=wayland
# Native Wayland Support for Most Electron Apps
export ELECTRON_OZONE_PLATFORM_HINT=auto