set some flags and env variables for electron apps to hopefully bring them to wayland

This commit is contained in:
2025-03-08 19:14:14 +01:00
parent 326e883016
commit 36396382cc
2 changed files with 3 additions and 2 deletions

View File

@@ -0,0 +1,2 @@
--enable-features=WaylandWindowDecorations
--ozone-platform-hint=auto

View File

@@ -11,8 +11,7 @@ export QT_QPA_PLATFORM=wayland
export QT_QPA_PLATFORMTHEME=qt6ct
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
#fix some bug with kde applications in hyprland https://www.lorenzobettini.it/2024/05/fixing-the-empty-open-with-in-dolphin-in-hyprland/
export XDG_MENU_PREFIX=arch-
export ELECTRON_OZONE_PLATFORM_HINT=wayland
export MOZ_ENABLE_WAYLAND=1