diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-15 13:06:37 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-15 13:06:37 +0200 |
| commit | cf89a5d88fb738883e9663b9e44afcc7b7f98807 (patch) | |
| tree | 8b340831d2df31456f86f6c7ab0da8660e011611 /AGENTS.md | |
| parent | e242147340994dbb48ded3273a34079a841af25b (diff) | |
| download | quickshell-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.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |
