new env variables to handle qt apps and force wayland backend (this needs more testing along with the new env vairables)

This commit is contained in:
2026-02-18 12:34:41 +01:00
parent 693f6b8796
commit 263b3d3c7a

View File

@@ -37,6 +37,18 @@ exec-once = waybar
exec-once = swayosd-server exec-once = swayosd-server
exec-once = librepods --start-minimized exec-once = librepods --start-minimized
env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_TYPE,wayland
env = XDG_SESSION_DESKTOP,Hyprland
env = SDL_VIDEODRIVER,wayland
env = QT_AUTO_SCREEN_SCALE_FACTOR,1.5
windowrule = match:xwayland true, no_initial_focus off
# Tell QT applications to use the Wayland backend, and fall back to x11 if Wayland is unavailable
env = QT_QPA_PLATFORM,wayland,xcb
# Disables window decorations on QT applications
# env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
############################# #############################
### ENVIRONMENT VARIABLES ### ### ENVIRONMENT VARIABLES ###
############################# #############################