# vim: set filetype=sh : # UWSM environment variables for Hyprland # See https://wiki.hypr.land/Configuring/Environment-variables/ export XCURSOR_SIZE=24 export GDK_SCALE={{ hyprland_gdk_scale }} # Fix steam scaling export STEAM_FORCE_DESKTOPUI_SCALING=1.6 # Force all apps to use Wayland export QT_QPA_PLATFORM="wayland;xcb" export QT_STYLE_OVERRIDE=fusion export SDL_VIDEODRIVER=wayland export MOZ_ENABLE_WAYLAND=1 export ELECTRON_OZONE_PLATFORM_HINT=wayland export OZONE_PLATFORM=wayland {% if hyprland_nvidia %} # NVIDIA Wayland support export LIBVA_DRIVER_NAME=nvidia export GBM_BACKEND=nvidia-drm export __GLX_VENDOR_LIBRARY_NAME=nvidia export NVD_BACKEND=direct {% endif %}