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
This commit is contained in:
parent
269c6f6e67
commit
14a235cdcc
1 changed files with 2 additions and 6 deletions
|
|
@ -1,11 +1,8 @@
|
||||||
# Monitor Settings
|
# Monitor Settings
|
||||||
monitor=DP-2,2560x1440@144,0x0,1
|
monitor=DP-2,2560x1440@60,0x0,1
|
||||||
monitor=DP-1,2560x1440@144,-2560x0,1
|
monitor=DP-1,2560x1440@144,-2560x0,1
|
||||||
monitor=HDMI-A-1,disable
|
monitor=HDMI-A-1,disable
|
||||||
|
|
||||||
# Fix screen tearing
|
|
||||||
env = WLR_DRM_NO_ATOMIC,1
|
|
||||||
|
|
||||||
# Inits
|
# Inits
|
||||||
exec-once = swww init
|
exec-once = swww init
|
||||||
exec-once = swww img $HOME/med/pix/bg.png
|
exec-once = swww img $HOME/med/pix/bg.png
|
||||||
|
|
@ -28,7 +25,6 @@ general {
|
||||||
col.inactive_border = rgb(1E1D2F)
|
col.inactive_border = rgb(1E1D2F)
|
||||||
|
|
||||||
layout = master
|
layout = master
|
||||||
allow_tearing = true
|
|
||||||
}
|
}
|
||||||
|
|
||||||
decoration {
|
decoration {
|
||||||
|
|
@ -61,6 +57,6 @@ master {
|
||||||
|
|
||||||
misc {
|
misc {
|
||||||
focus_on_activate = true
|
focus_on_activate = true
|
||||||
enable_swallow = true
|
enable_swallow = false
|
||||||
swallow_regex = ^(Alacritty)$
|
swallow_regex = ^(Alacritty)$
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue