Add configurable metrics display styles#36
Open
3manu31 wants to merge 1 commit into
Open
Conversation
…option Lets users choose how CPU/Memory/Storage values are shown in the menu bar (Percentage, Pie, or Bar), addressing issue runcat-dev#33 by allowing a more compact footprint. Battery gets its own independent style choice (Compact icon-with-inline-percentage, or classic Percentage) since it doesn't have a meaningful pie/bar variant of its own. A thunderbolt indicator appears next to the percentage whenever charging, in every mode.
Collaborator
|
@3manu31 If there are any changes that significantly affect the visual appearance, please make sure to include appropriate screenshots to showcase them. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context of Contribution
Summary of the Proposal
Addresses #33 by letting users choose a more compact way to display metrics in the menu bar.
Adds a Style setting for the metrics bar with three options for CPU / Memory / Storage:
Battery gets its own independent Battery Style setting (Compact / Percentage), since a pie or bar doesn't really apply to it:
In both battery styles, a small thunderbolt indicator now appears next to the percentage whenever the battery is charging.
Reason for the new feature
Issue #33 asks for a way to show metrics more compactly to save menu bar space (especially useful for users who show several metrics at once or have limited menu bar real estate (e.g. MacBooks with a notch)). The Pie/Bar styles solve this directly, and the Battery style lets users reclaim battery's icon-only footprint without affecting how other metrics are displayed.
All new configuration fields are optional and default to matching the current behavior, so existing users see no visual change unless they opt in.
Checklist