home/fuji: fix qutebrowser flicker, fix kde crashes

This commit is contained in:
2026-07-20 14:35:09 +02:00
parent af0003f6db
commit 8c8c077d9c
+9 -11
View File
@@ -43,8 +43,8 @@ in
}; };
qt = { qt = {
enable = true; enable = true;
style.name = "adwaita-dark"; style.name = "breeze";
platformTheme.name = "gtk"; platformTheme.name = "kde6";
}; };
fonts.fontconfig.enable = true; fonts.fontconfig.enable = true;
@@ -182,12 +182,12 @@ in
}; };
settings = { settings = {
# Workaround for QtWebEngine screen flicker/flash on Wayland+Intel
qt.args = [ qt.args = [
"disable-gpu-compositing" "ignore-gpu-blocklist"
"enable-features=VaapiVideoDecoder,VaapiVideoEncoder" "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.notifications.enabled = false;
content.pdfjs = true; content.pdfjs = true;
content.webgl = false; content.webgl = false;
@@ -209,6 +209,9 @@ in
tabs.width = "12%"; tabs.width = "12%";
zoom.default = "125%"; zoom.default = "125%";
}; };
extraConfig = ''
c.qt.environ = {"QTWEBENGINE_FORCE_USE_GBM": "0"}
'';
}; };
git = { git = {
@@ -285,11 +288,6 @@ in
${pkgs.coreutils}/bin/rm $ALL_IMGS ${pkgs.coreutils}/bin/rm $ALL_IMGS
''; '';
in in
/*
refresh_i3status = pkgs.writeShellScriptBin "refresh_i3status" ''
${pkgs.coreutils}/bin/sleep 1 && ${pkgs.procps}/bin/pkill -USR1 i3status-rs
'';
*/
{ {
enable = true; enable = true;
events = { events = {