aboutsummaryrefslogtreecommitdiffstats
path: root/AGENTS.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-15 13:06:37 +0200
committerDanilo M. <danix@danix.xyz>2026-10-15 13:06:37 +0200
commitcf89a5d88fb738883e9663b9e44afcc7b7f98807 (patch)
tree8b340831d2df31456f86f6c7ab0da8660e011611 /AGENTS.md
parente242147340994dbb48ded3273a34079a841af25b (diff)
downloadquickshell-cf89a5d88fb738883e9663b9e44afcc7b7f98807.tar.gz
quickshell-cf89a5d88fb738883e9663b9e44afcc7b7f98807.zip
docs: PwNode.isSink reads true for a playback stream
Recorded because the inverted filter looked correct, linted clean and returned an empty list with no error. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/AGENTS.md b/AGENTS.md
index 48f7970..863a7e5 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -83,6 +83,10 @@ changing that component. The ones that generalise:
- **`PwObjectTracker` is not optional.** Node properties only stay current
while something binds the node; without it the volume reads once and goes
stale.
+- **`PwNode.isSink` reads true for a playback stream.** Firefox playing
+ audio is `isStream` and `isSink`, so `isStream && !isSink` finds no apps.
+ Match `type === PwNodeType.AudioOutStream`. A node's `properties` are empty
+ until it is bound, so read `application.name` only under a tracker.
- **playerctld publishes a duplicate of every MPRIS player** under its own bus
name. Filter by `dbusName`, not by identity.
- **Key events reach a focused item, not a window.** Setting