mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2025-04-28 03:08:04 +02: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…
x
Reference in New Issue
Block a user