Skip to content

Conversation

@joeymanny
Copy link

I like to see my battery as a percentage instead of an icon, and it seemed like an easy enough thing to try doing myself.
I did a good bit of copy/pasting from other applets.
The option to enable it is ~/.config/cosmic/com.system76.CosmicAppletButton/v1/display_as_percentage
It uses core.watch_config that I copied from the time applet to update its own config.
I also added a config type for this applet, display_as_percentage is currently the only field (with all the derives and macros copied from another applet).
I noticed this didn't create the config file on my system, not sure if that's something the applet should check for, but it does react to changes to the config file.
Also idk how to get the applet to live on the bar/panel, so I haven't been able to test if the width is acceptable.

@joeymanny
Copy link
Author

took five seconds to look at the other PRs and realized this is a clone of #994, oops.

@joeymanny joeymanny closed this Nov 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant