From 14a235cdcc56ec8a96fc8a2c2b68ad9264375b88 Mon Sep 17 00:00:00 2001 From: JuliaLange Date: Mon, 8 Apr 2024 23:03:32 -0700 Subject: [PATCH] Hypr, fix nvidia screen tearing issue Fixes an issue causing screen tearing by reducing refresh rate to 60Hz. Disables window swallowing because I accidentally added that to this commit --- programs/hypr/settings.conf | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/programs/hypr/settings.conf b/programs/hypr/settings.conf index 77eceff..ca95da9 100644 --- a/programs/hypr/settings.conf +++ b/programs/hypr/settings.conf @@ -1,11 +1,8 @@ # Monitor Settings -monitor=DP-2,2560x1440@144,0x0,1 +monitor=DP-2,2560x1440@60,0x0,1 monitor=DP-1,2560x1440@144,-2560x0,1 monitor=HDMI-A-1,disable -# Fix screen tearing -env = WLR_DRM_NO_ATOMIC,1 - # Inits exec-once = swww init exec-once = swww img $HOME/med/pix/bg.png @@ -28,7 +25,6 @@ general { col.inactive_border = rgb(1E1D2F) layout = master - allow_tearing = true } decoration { @@ -61,6 +57,6 @@ master { misc { focus_on_activate = true - enable_swallow = true + enable_swallow = false swallow_regex = ^(Alacritty)$ }