ironbar icon indicating copy to clipboard operation
ironbar copied to clipboard

Improve upower (battery) icon handling

Open freijon opened this issue 9 months ago • 4 comments

The OOTB icon that is displayed with the upower module is not to my liking and looks very out of place with my setup.

Improvement 1

If you really want to provide the icon OOTB, then it should be possible to disable/hide it. Today, I have to use CSS where it seems I can only set opacity: 0; in combination with the setting icon_size = 0 which uses the smallest icon possible and which hides it but the space is still occupied by the transparent icon.

Improvement 2

I think it would be more consistent with other modules (e.g. volume) to have different strings for the icon, e.g.

  • icons.battery_100
  • icons.battery_75
  • icons.battery_50
  • icons.battery_25
  • icons.battery_0

freijon avatar Apr 10 '25 07:04 freijon