mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-11-16 16:19:22 +01:00
bash/usr-local-bin/start{plasma,sway}: enable wayland for Electron apps
This commit is contained in:
parent
a1ae10bf17
commit
dce68797f1
@ -18,6 +18,8 @@ export QT_QPA_PLATFORMTHEME="qt5ct"
|
|||||||
export QT_QPA_PLATFORM=wayland
|
export QT_QPA_PLATFORM=wayland
|
||||||
export CLUTTER_BACKEND=wayland
|
export CLUTTER_BACKEND=wayland
|
||||||
export SDL_VIDEODRIVER=wayland
|
export SDL_VIDEODRIVER=wayland
|
||||||
|
# Electron
|
||||||
|
export ELECTRON_OZONE_PLATFORM_HINT=wayland
|
||||||
# Mozilla Products
|
# Mozilla Products
|
||||||
export MOZ_ENABLE_WAYLAND=1
|
export MOZ_ENABLE_WAYLAND=1
|
||||||
|
|
||||||
|
@ -33,6 +33,8 @@ export GTK_THEME=Adwaita:dark
|
|||||||
export QT_QPA_PLATFORM=wayland
|
export QT_QPA_PLATFORM=wayland
|
||||||
export CLUTTER_BACKEND=wayland
|
export CLUTTER_BACKEND=wayland
|
||||||
export SDL_VIDEODRIVER=wayland
|
export SDL_VIDEODRIVER=wayland
|
||||||
|
# Electron
|
||||||
|
export ELECTRON_OZONE_PLATFORM_HINT=wayland
|
||||||
# Mozilla Products
|
# Mozilla Products
|
||||||
export MOZ_ENABLE_WAYLAND=1
|
export MOZ_ENABLE_WAYLAND=1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user