Open sebastianrakel opened 1 year ago
see #517 (comments)
Also, take a look at the eww documentation.
Okay, i tested it with the visible property, but the widget is still processed and throws errors, cause there is no battery in this device
You could try literal then, or use simplexpr features to avoid throwing errors (the recently merged json safe acess could work)
Will have a look into that, thanks!
Description of the requested feature
Hi,
i have a laptop and a workstation and they share the same bar. but my workstation does not have a battery. so there is currently following error in my configuration.
so my idea is an option/property which skips the rendering of the module. like an enable option/property.
Proposed configuration syntax
(label :enable false :text { EWW_BATTERY["BAT1"].capacity + "%" })
Additional context
No response