Files
hyprland/config/hypr/UserConfigs/ENVariables.conf
T
sankalp c72d10c520 feat(config/hypr/UserConfigs): streamline keybinds and environment variables
Refactored the UserConfigs to simplify environment settings, enhance startup handling, and introduce flexible window rules.

- Added LIBVA, GLX, and Electron env vars for better GPU integration
- Introduced named window rules for viewer, multimedia video, and dialogs- Updated exec‑once commands and DBus import‑environment handling
- Renamed notification variable to fix bind failures
- Refined cursor‑zoom gestures and floating behavior
- Adjusted scrolling, workspace layouts, and XWayland cursor settings- Cleaned up deprecated config lines and removed unused env entries
2026-03-31 20:57:10 +05:45

37 lines
953 B
Plaintext

# Environment variables. See https://wiki.hyprland.org/Configuring/Environment-variables/
#environment-variables
env = CLUTTER_BACKEND,wayland
env = GDK_BACKEND,wayland,x11
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
env = QT_QPA_PLATFORM,wayland;xcb
env = QT_QPA_PLATFORMTHEME,qt5ct
env = QT_QPA_PLATFORMTHEME,qt6ct
env = QT_SCALE_FACTOR,1
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_DESKTOP,Hyprland
env = XDG_SESSION_TYPE,wayland
env = LIBVA_DRIVER_NAME,nvidia
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = ELECTRON_OZONE_PLATFORM_HINT,auto
env = SDL_VIDEODRIVEVER,wayland
env = GDK_SCALE,1
env = QT_SELECTION=/usr/bin/qmake
# firefox
env = MOZ_ENABLE_WAYLAND,1 firefox
# electron
env = ELECTRON_ARGS="--enable-features=UseOzonePlatform --ozone-platform=wayland"
env = MOZ_DBUS_REMOTE=1
env = ELECTRON_ENABLE_WAYLAND, 1
env = ELECTRON_OZONE_PLATFORM_HINT,wayland
# Cursor size
env = XCURSOR_SIZE,6