mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 07:15:19 +01:00
[GH-ISSUE #698] Hide the battry indicator when there is no battery. #7258
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#7258
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 @Kl4rry on GitHub (Aug 10, 2024).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/698
Is your feature request related to a problem? Please describe.
I use the same ironbar config on my desktop and my laptop. On my laptop I want to use the battery indicator but it is not useful on a desktop as it has no battery.
Describe the solution you'd like
Add an option to make the battery indicator disappear when there is no battery.
Describe alternatives you've considered
I could have two different configs but that seems a bit annoying when they are 99% the same.
@JakeStanger commented on GitHub (Aug 10, 2024):
You can use
show_iffor this, and only show the module if a battery is detected. Something like:@Kl4rry commented on GitHub (Aug 10, 2024):
Thanks!