-
Notifications
You must be signed in to change notification settings - Fork 101
Description
As stated in the wiki, the new brightness module ships with default profiles which set the icon according to the percentage. This seems to override the user-specified format property: in particular, my use case is showing the number without the percentage symbol (I use a vertical bar, so having the "%" symbols takes up unnecessary space and I find it quite ugly), but something like this doesn't work:
[[end]]
type = "brightness"
format = "{percentage}"
justify = "center"
[end.mode]
type = "systemd"
subsystem = "backlight"In fact, I believe that the format option is overridden by the profiles which set the icons. Interestingly though I found out that the only way to override these profiles is by creating a new one for each of the levels mentioned in the wiki: for instance, something like the following only works when the percentage is exactly 30, everything below will still have the built-in formatting with the percentage symbol.
[[end]]
type = "brightness"
format = "{percentage}"
justify = "center"
[end.mode]
type = "systemd"
subsystem = "backlight"
[end.profiles.30]
when = 30
format = "\n{percentage}"I hope this could be fixed, and thanks for the amazing project!