From a50e19e2867355a2805277f4f47635b2ae0e9c4d Mon Sep 17 00:00:00 2001
From: DerGrumpf
Date: Wed, 24 Dec 2025 00:49:41 +0100
Subject: [PATCH] Fixed GTK flicker bugs
---
programs/wm/hyprland/hyprland.nix | 10 ++++++----
users/phil/home.nix | 1 +
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/programs/wm/hyprland/hyprland.nix b/programs/wm/hyprland/hyprland.nix
index 5592a5e..89090cb 100644
--- a/programs/wm/hyprland/hyprland.nix
+++ b/programs/wm/hyprland/hyprland.nix
@@ -49,6 +49,7 @@ in
"GDK_BACKEND,wayland,x11"
"XCURSOR_SIZE,24"
"EDITOR,nvim"
+ "GSK_RENDERER,gl"
];
monitor = [
@@ -102,7 +103,7 @@ in
};
blur = {
- enabled = true;
+ enabled = false;
size = 1;
passes = 3;
new_optimizations = 1;
@@ -124,8 +125,6 @@ in
};
layerrule = [
- "blur,gtk-layer-shell"
- "ignorezero,gtk-layer-shell"
"blur,notifications"
"ignorezero,notifications"
"blur,rofi"
@@ -155,7 +154,9 @@ in
sensitivity = -0.5;
};
- windowrulev2 = "suppressevent maximize, class:.*";
+ windowrulev2 = [
+ "suppressevent maximize, class:.*"
+ ];
windowrule = [
"opacity 0.0 override, class:^(xwaylandvideobridge)$"
@@ -164,6 +165,7 @@ in
"maxsize 1 1, class:^(xwaylandvideobridge)$"
"noblur, class:^(xwaylandvideobridge)$"
"nofocus, class:^(xwaylandvideobridge)$"
+ "noblur, class:^(org\\.gnome\\.|io\\.github\\.|org\\.gtk\\.)"
];
# See further https://wiki.hypr.land/Configuring/Workspace-Rules/
diff --git a/users/phil/home.nix b/users/phil/home.nix
index 7dd32b1..cb1b9b1 100644
--- a/users/phil/home.nix
+++ b/users/phil/home.nix
@@ -51,6 +51,7 @@
# GUI Tools
#anydesk
+ newelle
# KDE Tools
kdePackages.okular