home/fuji: fix qutebrowser flicker, fix kde crashes
This commit is contained in:
+9
-11
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user