[GH-ISSUE #1209] Add a Power Profile widget/unit #7390

Open
opened 2026-05-23 02:54:13 +01:00 by JakeStanger · 2 comments
Owner

Originally created by @kmandarin-orange on GitHub (Oct 20, 2025).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/1209

One feature built into my current bar, Waybar, is a power profiles toggle, which when clicked cycles through the 2 or 3 available configurations provided by tuned or ppd. I primarily use a laptop, so this feature would be incredibly handy to have in Ironbar, which I'm considering moving to.

For demonstration, this is how it currently works on my bar, only the icons have been changed from Waybar defaults:

https://github.com/user-attachments/assets/24e02712-e9c1-4b3b-9c87-18d3a1d9ac9a

I've considered maybe using the custom scripting features in Ironbar, but currently don't have the time to look into making it work that way.

Hopefully I'm not missing something, I just couldn't find anything like this in the documentation. I have no idea how complex this would be to implement though, so if it's non-trivial, I could get by just using the command line. Just something I thought might be nifty to somehow implement, either inside the battery menu or as a separate toggle, or both!

Originally created by @kmandarin-orange on GitHub (Oct 20, 2025). Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/1209 One feature built into my current bar, Waybar, is a power profiles toggle, which when clicked cycles through the 2 or 3 available configurations provided by `tuned` or `ppd`. I primarily use a laptop, so this feature would be incredibly handy to have in Ironbar, which I'm considering moving to. For demonstration, this is how it currently works on my bar, only the icons have been changed from Waybar defaults: https://github.com/user-attachments/assets/24e02712-e9c1-4b3b-9c87-18d3a1d9ac9a I've considered maybe using the custom scripting features in Ironbar, but currently don't have the time to look into making it work that way. Hopefully I'm not missing something, I just couldn't find anything like this in the documentation. I have no idea how complex this would be to implement though, so if it's non-trivial, I could get by just using the command line. Just something I thought might be nifty to somehow implement, either inside the battery menu or as a separate toggle, or both!
Author
Owner

@JakeStanger commented on GitHub (Oct 20, 2025):

This sounds like a good module to have natively. It'll be fairly down my own list but if anybody else wants to take it on, it looks fairly easy to implement over dbus.

For now you could accomplish something with a custom module and buttons, although wouldn't be great

<!-- gh-comment-id:3423552414 --> @JakeStanger commented on GitHub (Oct 20, 2025): This sounds like a good module to have natively. It'll be fairly down my own list but if anybody else wants to take it on, it looks fairly easy to implement over dbus. For now you could accomplish something with a custom module and buttons, although wouldn't be great
Author
Owner

@kmandarin-orange commented on GitHub (Oct 21, 2025):

Sweet, I figured a script would work in the interim, but glad to know a native implementation would be welcome.

My Rust knowledge is pretty lackluster, so I'm sure some other interested party will beat me to it, but I might look into trying my hand at it. Thanks for the quick response!

<!-- gh-comment-id:3424815184 --> @kmandarin-orange commented on GitHub (Oct 21, 2025): Sweet, I figured a script would work in the interim, but glad to know a native implementation would be welcome. My Rust knowledge is pretty lackluster, so I'm sure some other interested party will beat me to it, but I might look into trying my hand at it. Thanks for the quick response!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/ironbar#7390
No description provided.