enable tearing for steam games

This commit is contained in:
end-4
2024-04-30 09:25:24 +07:00
parent dcc4a2d63d
commit c47038502f
2 changed files with 7 additions and 3 deletions
+3 -3
View File
@@ -55,7 +55,7 @@ general {
layout = dwindle
#focus_to_other_workspaces = true # ahhhh i still haven't properly implemented this
allow_tearing = false # some guy told me tearing might make things smoother idk
allow_tearing = true # This just allows the `immediate` window rule to work
}
dwindle {
@@ -126,8 +126,8 @@ animations {
# animation = layers, 1, 2, md3_decel, slide
animation = layersIn, 1, 3, menu_decel, slide
animation = layersOut, 1, 1.6, menu_accel
animation = fadeLayersIn, 1, 3, menu_decel
animation = fadeLayersOut, 1, 1.6, menu_accel
animation = fadeLayersIn, 0, 2, menu_decel
animation = fadeLayersOut, 1, 4.5, menu_accel
animation = workspaces, 1, 7, menu_decel, slide
# animation = workspaces, 1, 2.5, softAcDecel, slide
# animation = workspaces, 1, 7, menu_decel, slidefade 15%
+4
View File
@@ -15,6 +15,10 @@ windowrule=float,title:^(Open Folder)(.*)$
windowrule=float,title:^(Save As)(.*)$
windowrule=float,title:^(Library)(.*)$
# Tearing
windowrule=immediate,.*\.exe
windowrulev2=immediate,class:(steam_app)
# ######## Layer rules ########
layerrule = xray 1, .*
# layerrule = noanim, .*