From 0a14f5980a54a7bd3a6bc4ce1d63b4757c8a7580 Mon Sep 17 00:00:00 2001 From: Saumit Dinesan Date: Thu, 7 Dec 2023 19:43:34 +0530 Subject: hypr: adding env vars for nvidia --- .config/hypr/hyprland.conf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to '.config') diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 8582744..955fe12 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -15,6 +15,11 @@ exec-once = systemctl --user import-environment DISPLAY WAYLAND_DISPLAY XDG_CURR # Some default env vars. env = XCURSOR_SIZE,24 +env = LIBVA_DRIVER_NAME,nvidia +env = XDG_SESSION_TYPE,wayland +env = GBM_BACKEND,nvidia-drm +env = __GLX_VENDOR_LIBRARY_NAME,nvidia +env = WLR_NO_HARDWARE_CURSORS,1 # For all categories, see https://wiki.hyprland.org/Configuring/Variables/ input { @@ -28,7 +33,7 @@ input { follow_mouse = 1 touchpad { - disable_while_typing = no + disable_while_typing = false natural_scroll = false tap-to-click=yes } -- cgit v1.2.3