From c0473d87565569202d548eba47279321e287990c Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 15 Sep 2026 14:54:36 +0200 Subject: fix(notifications): apply final review fixes Mirror the balloon's right-click close-all on the drawer row: the spec says the gestures are identical in both forms, and a right-click on a row previously did nothing. The right-button branch precedes the live guard so it behaves the same on history rows. Stop importing the Status singleton into the notification shell. Referencing it instantiated it, and its onPresentationChanged writes status.dnd and runs breaktimer.sh, so a read-only consumer was writing state and shelling out on every presentation toggle, and doubled the dndBeforePresentation race. Notify now reads "/run/user//status.dnd" directly through a FileView, the same convention as the notifyd files; a missing file means off. AGENTS.md named Drawer.qml as the drawer's reserved space; it is desktop/NotificationList.qml. --- AGENTS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'AGENTS.md') diff --git a/AGENTS.md b/AGENTS.md index ccd2fa3..300d4ce 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -240,7 +240,7 @@ changing that component. The ones that generalise: is not an interruption. - **A notification appears as a balloon or in the drawer's reserved space, never both.** The drawer writes `notifyd/drawer` and the balloon shell reads - it; `Drawer.qml`'s reserved `Item` is the space. + it; `desktop/NotificationList.qml` is the space. - **The dead `waybar/modules/custom/notification.jsonc` and `waybar/scripts/notifications.py` still shell out to `dunstctl`.** They are not in the live waybar config; do not resurrect them. -- cgit v1.2.3