From 36396382cc071f4014d1be2dcb66586b0be6fdbf Mon Sep 17 00:00:00 2001 From: mpuchstein Date: Sat, 8 Mar 2025 19:14:14 +0100 Subject: [PATCH] set some flags and env variables for electron apps to hopefully bring them to wayland --- .config/electron-flags.conf | 2 ++ .config/uwsm/env | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 .config/electron-flags.conf diff --git a/.config/electron-flags.conf b/.config/electron-flags.conf new file mode 100644 index 0000000..612fc17 --- /dev/null +++ b/.config/electron-flags.conf @@ -0,0 +1,2 @@ +--enable-features=WaylandWindowDecorations +--ozone-platform-hint=auto diff --git a/.config/uwsm/env b/.config/uwsm/env index 2209fe1..e581fcc 100644 --- a/.config/uwsm/env +++ b/.config/uwsm/env @@ -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