aboutsummaryrefslogtreecommitdiffstats
path: root/AGENTS.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-15 14:54:36 +0200
committerDanilo M. <danix@danix.xyz>2026-09-15 14:54:36 +0200
commitc0473d87565569202d548eba47279321e287990c (patch)
tree2f869d1330da836addd8e373a81ee2e96ac3c376 /AGENTS.md
parent708eeda25d3d6e47afaa75fbb77a162cb3c1ff09 (diff)
downloadquickshell-c0473d87565569202d548eba47279321e287990c.tar.gz
quickshell-c0473d87565569202d548eba47279321e287990c.zip
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/<uid>/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.
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md2
1 files changed, 1 insertions, 1 deletions
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.