Say on power's draw item which state its bar block reads, so the bar's holder can be granted it (issue 774)

i3status-rust on g14 and shanks cannot watch power.draw ("was issued: none", 148 times): its read was granted from
the bar contribution's data (shows: state, options.state; catalogue.ReadsGranted), and design 57 L3 moved the block
to an item, whose attributes said nothing of it, while ReadsGranted reads contributions alone.

Quick fix: `reads: power.draw` on i3status-rust, which grants every machine's draw instead of its own key (ADR 0260).
Thorough fix: the item says its read (shows: state, state: power.draw), and mesh-sdk's ReadsGranted grants a held
item's read as it grants a contribution's, keyed to the machine. Chose thorough; its mesh-sdk half is another
repository's, and until it lands the fault stays.
This commit is contained in:
2026-10-30 18:19:59 +01:00
parent 0e6ca453be
commit ca8d6f33a5
2 changed files with 11 additions and 6 deletions
+3 -1
View File
@@ -442,7 +442,9 @@
"attributes": {
"bar": "bottom",
"place": "status",
"order": "45"
"order": "45",
"shows": "state",
"state": "power.draw"
},
"template": "templates/bar-power-draw"
}