bash/usr-local-bin/start{plasma,sway}: enable wayland for Electron apps

This commit is contained in:
Aminda Suomalainen 2024-02-14 10:27:49 +02:00
parent a1ae10bf17
commit dce68797f1
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 4 additions and 0 deletions

View File

@ -18,6 +18,8 @@ export QT_QPA_PLATFORMTHEME="qt5ct"
export QT_QPA_PLATFORM=wayland
export CLUTTER_BACKEND=wayland
export SDL_VIDEODRIVER=wayland
# Electron
export ELECTRON_OZONE_PLATFORM_HINT=wayland
# Mozilla Products
export MOZ_ENABLE_WAYLAND=1

View File

@ -33,6 +33,8 @@ export GTK_THEME=Adwaita:dark
export QT_QPA_PLATFORM=wayland
export CLUTTER_BACKEND=wayland
export SDL_VIDEODRIVER=wayland
# Electron
export ELECTRON_OZONE_PLATFORM_HINT=wayland
# Mozilla Products
export MOZ_ENABLE_WAYLAND=1