mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 06:15:21 +01:00
[GH-ISSUE #935] Improve upower (battery) icon handling #282
Labels
No labels
A:Build
A:CI
A:Client
A:Config
A:Core
A:Documentation
A:Documentation
A:IPC
A:Testing
A:UX/UI
blocked
BREAKING CHANGE
duplicate
good first issue
GTK4
help wanted
invalid
M:Battery
M:Battery
M:Bindmode
M:Bluetooth
M:Brightness
M:Cairo
M:Clipboard
M:Clock
M:Clock
M:Custom
M:Focused
M:Keyboard
M:Launcher
M:Menu
M:Music
M:Music
M:Music
M:Network Manager
M:Notifications
M:SysInfo
M:Tray
M:Volume
M:Workspaces
partially resolved
P:Critical
P:High
P:Low
P:Medium
pull-request
T:Bug
T:Bug
T:Core Enhancement
T:Module Enhancement
T:New Module
T:Question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
JakeStanger/ironbar#282
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @freijon on GitHub (Apr 10, 2025).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/935
The OOTB icon that is displayed with the
upowermodule 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 settingicon_size = 0which 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.
@freijon commented on GitHub (Apr 10, 2025):
EDIT: Updated improvement 2 with only numerical values
@JakeStanger commented on GitHub (Apr 10, 2025):
This is covered by #511, which is the next issue on my list. Should have something for you soon
@freijon commented on GitHub (Dec 4, 2025):
Now that this is apparently implemented, how would I achieve what I described in the original post?
@JakeStanger commented on GitHub (Dec 7, 2025):
I'm looking and I think this was unfairly closed, and a proper solution still needs to be put in place for this module.
The
thresholdsproperty lets you control CSS classes, and the module now uses the proper icon system, which means you can change icons to other image using the top-levelicon_overridesoption, but this isn't ideal.See #1272 for tracking the ability to hide the icon too.