Skip to content

Commit

Permalink
hyprland nvidia config
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasBackx committed Nov 22, 2024
1 parent 137df87 commit 15dfb69
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 4 deletions.
4 changes: 0 additions & 4 deletions private_dot_config/hypr/env.conf.tmpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@

# Some default env vars.
env = XCURSOR_SIZE,24

{{ if eq .gpu "nvidia" -}}
env = WLR_NO_HARDWARE_CURSORS,1
{{- end }}
4 changes: 4 additions & 0 deletions private_dot_config/hypr/hyprland.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ $mainMod = SUPER
source=~/.config/hypr/env.conf
source=~/.config/hypr/styling.conf

{{ if eq .gpu "nvidia" -}}
source=~/.config/hypr/nvidia.conf
{{- end }}

# Any monitor/workspace assignment
source=~/.config/hypr/monitors.conf
source=~/.config/hypr/input.conf
Expand Down
22 changes: 22 additions & 0 deletions private_dot_config/hypr/nvidia.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
env = WLR_NO_HARDWARE_CURSORS,1
cursor {
no_hardware_cursors = true
}

render {
explicit_sync = 2
explicit_sync_kms = 0
}

opengl {
nvidia_anti_flicker = 0
force_introspection = 2
}

misc {
vfr = 0
}

debug {
damage_tracking = 0
}

0 comments on commit 15dfb69

Please sign in to comment.