mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-07-16 03:29:50 +02:00
tag: use as_float() when kb/mb/gb formatting a float tag value
This commit is contained in:
parent
c738f1c63d
commit
de4814d16e
2 changed files with 9 additions and 3 deletions
|
@ -31,6 +31,9 @@
|
|||
### Changed
|
||||
|
||||
* Minimum required meson version is now 0.58.
|
||||
* Float tags are now treated as floats instead of integers when
|
||||
formatted with the `kb`/`kib`/`mb`/`mib`/`gb`/`gib` string particle
|
||||
formatters.
|
||||
* **BREAKING CHANGE**: overhaul of the `map` particle. Instead of
|
||||
specifying a `tag` and then an array of `values`, you must now
|
||||
simply use an array of `conditions`, that consist of:
|
||||
|
@ -69,8 +72,8 @@
|
|||
For a more thorough explanation, see the updated map section in the
|
||||
man page for yambar-particles([#137][137] and [#175][175]).
|
||||
|
||||
[137]: https://codeberg.org/dnkl/yambar/issues/137
|
||||
[175]: https://codeberg.org/dnkl/yambar/issues/172
|
||||
[137]: https://codeberg.org/dnkl/yambar/issues/137
|
||||
[175]: https://codeberg.org/dnkl/yambar/issues/172
|
||||
|
||||
|
||||
### Deprecated
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue