DankMaterialShell
DankMaterialShell copied to clipboard
IPC: `widget status <id>` always returns "hidden", contradicting `widget list`
Summary
dms ipc call widget status <id> always returns hidden, including for widgets that dms ipc call widget list reports as [visible]. The two endpoints describe the same state and contradict each other.
Reproduction
$ dms ipc call widget list
systemTray
clipboard
volumePill [visible]
brightnessPill [visible]
battery
tempPill [visible]
memPill [visible]
...
$ dms ipc call widget status volumePill
hidden
$ dms ipc call widget status tempPill
hidden
$ dms ipc call widget status memPill
hidden
Every widget I tried returns hidden, whether or not list marks it [visible].
Why it matters
status is the endpoint a script would use to check whether a widget is active. It does not fail — it confidently returns a false value, so anything built on it is wrong with no way to notice except by cross-checking list.
Concretely: I spent time hunting a non-existent bug in one of my own plugins because status reported it hidden while it was on screen the whole time.
Environment
- DankMaterialShell with Quickshell 0.3.0 (Arch
extra) - niri 26.04
- Widgets involved are a mix of built-ins and third-party plugins; the behaviour is the same for both.
I'm happy to test a fix.