hyprland: prefer native Wayland backends in client apps
Adds the standard env-var set so Electron, Mozilla, Qt, SDL and Java apps use Wayland directly instead of XWayland. Improves Vesktop, VSCodium, Zen, and anything Qt; doesn't touch Hearthstone (not in any of these families). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
333577331a
commit
f88c7a19e0
1 changed files with 7 additions and 0 deletions
|
|
@ -83,6 +83,13 @@
|
|||
"XCURSOR_SIZE,24"
|
||||
"HYPRCURSOR_THEME,Adwaita"
|
||||
"HYPRCURSOR_SIZE,24"
|
||||
|
||||
# Prefer native Wayland backends where the app supports it.
|
||||
"ELECTRON_OZONE_PLATFORM_HINT,wayland" # Vesktop, VSCodium
|
||||
"MOZ_ENABLE_WAYLAND,1" # Zen / Firefox family
|
||||
"QT_QPA_PLATFORM,wayland;xcb" # Qt apps, XWayland fallback
|
||||
"SDL_VIDEODRIVER,wayland" # SDL apps
|
||||
"_JAVA_AWT_WM_NONREPARENTING,1" # Java tiling fix
|
||||
];
|
||||
|
||||
"$mod" = "SUPER";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue