From a360d12bde9bf4a3c42cccaea1da8b1e93be1ee5 Mon Sep 17 00:00:00 2001 From: nevaforget Date: Fri, 10 Apr 2026 16:15:48 +0200 Subject: [PATCH] fix: reduce swaync notification size and cap popup height MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Smaller font (14px → 12px), smaller icon (64px → 36px via CSS variable), and notification-window-height limit (150px) to prevent oversized popups from long notification bodies. --- defaults/xdg/swaync/config.json | 2 +- defaults/xdg/swaync/style.css | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/defaults/xdg/swaync/config.json b/defaults/xdg/swaync/config.json index a7fd241..0aa45cb 100644 --- a/defaults/xdg/swaync/config.json +++ b/defaults/xdg/swaync/config.json @@ -8,7 +8,7 @@ "cssPriority": "user", "notification-window-width": 300, - "notification-icon-size": 64, + "notification-window-height": 150, "notification-body-image-height": 100, "notification-body-image-width": 200, diff --git a/defaults/xdg/swaync/style.css b/defaults/xdg/swaync/style.css index ae323d1..06e7d3e 100644 --- a/defaults/xdg/swaync/style.css +++ b/defaults/xdg/swaync/style.css @@ -3,9 +3,10 @@ * { all: unset; - font-size: 14px; + font-size: 12px; font-family: "UbuntuSans Nerd Font"; transition: 200ms; + --notification-icon-size: 36px; } trough highlight {