ironbar
ironbar copied to clipboard
[Volume] Dynamic format string / change tokens on the fly
I want to change {name} of module volume to icons depending on name of output device. For example: if current output device has {name} "Some device name", than it'll be headphone's icon. If it has {name} "Another device name" - then speaker's icon.
As far as I know, there is no way to do this via script. Correct me if I'm wrong.
Anyway, how can I achieve this?
P.S. Nice project btw, configuring is much more user-friendly comparing to waybar. Thanks for your work.
Currently this is not possible, although it should be possible to add support without much difficulty:
- The format string can be converted to a dynamic string to allow for custom scripts and ironvars
- Internal values can be exposed as ironvars in the same manner as
sysinfo