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:
@@ -37,6 +37,18 @@ exec-once = waybar
|
||||
exec-once = swayosd-server
|
||||
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 ###
|
||||
#############################
|
||||
|
||||
Reference in New Issue
Block a user