From 8c8c077d9c8fa6fd5671ca7dfa4ceeb721b722b3 Mon Sep 17 00:00:00 2001 From: Asmir A Date: Mon, 20 Jul 2026 14:35:09 +0200 Subject: [PATCH] home/fuji: fix qutebrowser flicker, fix kde crashes --- home/fuji/home.nix | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/home/fuji/home.nix b/home/fuji/home.nix index 5c499c8..64c0869 100644 --- a/home/fuji/home.nix +++ b/home/fuji/home.nix @@ -43,8 +43,8 @@ in }; qt = { enable = true; - style.name = "adwaita-dark"; - platformTheme.name = "gtk"; + style.name = "breeze"; + platformTheme.name = "kde6"; }; fonts.fontconfig.enable = true; @@ -182,12 +182,12 @@ in }; settings = { - # Workaround for QtWebEngine screen flicker/flash on Wayland+Intel qt.args = [ - "disable-gpu-compositing" - "enable-features=VaapiVideoDecoder,VaapiVideoEncoder" + "ignore-gpu-blocklist" + "disable-gpu-memory-buffer-video-frames=false" + "enable-features=VaapiIgnoreDriverChecks,VaapiVideoDecoder,AcceleratedVideoDecoder,AcceleratedVideoDecodeLinuxGL,AcceleratedVideoEncoder,Vulkan,DefaultANGLEVulkan,VulkanFromANGLE,FluentOverlayScrollbar,MiddleClickAutoscroll" ]; - colors.webpage.preferred_color_scheme = "dark"; + content.notifications.enabled = false; content.pdfjs = true; content.webgl = false; @@ -209,6 +209,9 @@ in tabs.width = "12%"; zoom.default = "125%"; }; + extraConfig = '' + c.qt.environ = {"QTWEBENGINE_FORCE_USE_GBM": "0"} + ''; }; git = { @@ -285,11 +288,6 @@ in ${pkgs.coreutils}/bin/rm $ALL_IMGS ''; in - /* - refresh_i3status = pkgs.writeShellScriptBin "refresh_i3status" '' - ${pkgs.coreutils}/bin/sleep 1 && ${pkgs.procps}/bin/pkill -USR1 i3status-rs - ''; - */ { enable = true; events = {