blob: f33b1565a628b5cf67c3a71e931da289a0ebd73e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# 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_detected.rc == 0 %}
# NVIDIA Wayland support
export LIBVA_DRIVER_NAME=nvidia
export GBM_BACKEND=nvidia-drm
export __GLX_VENDOR_LIBRARY_NAME=nvidia
export NVD_BACKEND=direct
{% endif %}
|