summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2023-12-07 19:43:34 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2023-12-07 19:43:34 +0530
commit0a14f5980a54a7bd3a6bc4ce1d63b4757c8a7580 (patch)
treea9268f4b4655fa0821951e996a102a1415651760 /.config
parent2764b3f72c81f081e14865c0e23915609f9c331e (diff)
hypr: adding env vars for nvidia
Diffstat (limited to '.config')
-rw-r--r--.config/hypr/hyprland.conf7
1 files changed, 6 insertions, 1 deletions
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
}