mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 06:15:21 +01:00
[GH-ISSUE #1209] Add a Power Profile widget/unit #5986
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#5986
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 @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
tunedorppd. 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!
@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
@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!