From 35f38287159958110799001e3288942970609718 Mon Sep 17 00:00:00 2001 From: rope Date: Fri, 21 Aug 2026 09:40:11 +0100 Subject: [PATCH] quickshell: decode notification previews at thumbnail size Co-Authored-By: Claude Fable 5 --- settings/quickshell.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/settings/quickshell.nix b/settings/quickshell.nix index 12d444c..bf03f3a 100644 --- a/settings/quickshell.nix +++ b/settings/quickshell.nix @@ -6902,6 +6902,12 @@ in Image { anchors.fill: parent fillMode: Image.PreserveAspectCrop + // Decode to thumbnail height: without this a + // screenshot notification keeps a full-resolution + // 3440x1440 texture (~19MB) resident for as long + // as it is tracked — 30 retained notifications is + // half a gigabyte of VRAM for 48px previews. + sourceSize.height: 96 source: notifItem.previewSource } } @@ -7246,6 +7252,8 @@ in Image { anchors.fill: parent fillMode: Image.PreserveAspectCrop + // Same full-res-texture trap as the list preview. + sourceSize.height: 96 source: toastCard.previewSource } }