From 5049f392a18ef484570482de1d066faebbb927fd Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Wed, 13 May 2026 13:43:11 +0100 Subject: feat(wayland): tune Qt/SDL/Electron backends - zprofile: set QT_QPA_PLATFORM="wayland;xcb" (xcb fallback for bundled Qt), SDL_VIDEODRIVER="wayland,x11" (SDL2 defaults to X11). Drop MOZ_ENABLE_WAYLAND (Firefox 121+ default). - meta/wayland: add qt5-wayland and qt6-wayland so QT_QPA_PLATFORM=wayland actually resolves. - electron-flags.conf: global --ozone-platform=wayland, Wayland window decorations, GTK4. Applies to all apps using the Arch electron wrapper. Bundled-electron apps (slack-desktop, etc.) unaffected. --- dot_config/zsh/dot_zprofile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'dot_config/zsh/dot_zprofile') diff --git a/dot_config/zsh/dot_zprofile b/dot_config/zsh/dot_zprofile index 32b9245..3c824d3 100644 --- a/dot_config/zsh/dot_zprofile +++ b/dot_config/zsh/dot_zprofile @@ -80,7 +80,10 @@ export INPUTRC="$XDG_CONFIG_HOME/sh/inputrc" # ── Wayland ─────────────────────────────────────────────────────────────────── export XDG_CURRENT_DESKTOP=sway -export MOZ_ENABLE_WAYLAND=1 +# Prefer Wayland for Qt; fall back to xcb for apps without qt{5,6}-wayland. +export QT_QPA_PLATFORM="wayland;xcb" +# SDL2 defaults to X11; force Wayland with X11 fallback. SDL3 ignores this. +export SDL_VIDEODRIVER="wayland,x11" # ── XDG cleanup: keep $HOME tidy ───────────────────────────────────────────── # https://wiki.archlinux.org/title/XDG_Base_Directory#Partial -- cgit v1.3.1