Fixed GTK flicker bugs

This commit is contained in:
2025-12-24 00:49:41 +01:00
parent 72bf23b05b
commit a50e19e286
2 changed files with 7 additions and 4 deletions

View File

@@ -49,6 +49,7 @@ in
"GDK_BACKEND,wayland,x11" "GDK_BACKEND,wayland,x11"
"XCURSOR_SIZE,24" "XCURSOR_SIZE,24"
"EDITOR,nvim" "EDITOR,nvim"
"GSK_RENDERER,gl"
]; ];
monitor = [ monitor = [
@@ -102,7 +103,7 @@ in
}; };
blur = { blur = {
enabled = true; enabled = false;
size = 1; size = 1;
passes = 3; passes = 3;
new_optimizations = 1; new_optimizations = 1;
@@ -124,8 +125,6 @@ in
}; };
layerrule = [ layerrule = [
"blur,gtk-layer-shell"
"ignorezero,gtk-layer-shell"
"blur,notifications" "blur,notifications"
"ignorezero,notifications" "ignorezero,notifications"
"blur,rofi" "blur,rofi"
@@ -155,7 +154,9 @@ in
sensitivity = -0.5; sensitivity = -0.5;
}; };
windowrulev2 = "suppressevent maximize, class:.*"; windowrulev2 = [
"suppressevent maximize, class:.*"
];
windowrule = [ windowrule = [
"opacity 0.0 override, class:^(xwaylandvideobridge)$" "opacity 0.0 override, class:^(xwaylandvideobridge)$"
@@ -164,6 +165,7 @@ in
"maxsize 1 1, class:^(xwaylandvideobridge)$" "maxsize 1 1, class:^(xwaylandvideobridge)$"
"noblur, class:^(xwaylandvideobridge)$" "noblur, class:^(xwaylandvideobridge)$"
"nofocus, class:^(xwaylandvideobridge)$" "nofocus, class:^(xwaylandvideobridge)$"
"noblur, class:^(org\\.gnome\\.|io\\.github\\.|org\\.gtk\\.)"
]; ];
# See further https://wiki.hypr.land/Configuring/Workspace-Rules/ # See further https://wiki.hypr.land/Configuring/Workspace-Rules/

View File

@@ -51,6 +51,7 @@
# GUI Tools # GUI Tools
#anydesk #anydesk
newelle
# KDE Tools # KDE Tools
kdePackages.okular kdePackages.okular