Skip to content

Add battery item #578

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Add battery item #578

wants to merge 2 commits into from

Conversation

Martian-0007
Copy link

@Martian-0007 Martian-0007 commented Apr 30, 2025

Adds a battery item like in p10k. Lacks colors.

Description

I added a simple segment with the NF battery icon and percentage.

Motivation and Context

I wanted a simple battery item.

Closes #556

Screenshots (if appropriate)

image

How Has This Been Tested

I added the item to my Tide installation, which didn't break anything.

  • I have tested using Linux.
  • I have tested using MacOS.

Checklist

  • I am ready to update the wiki accordingly.
  • I have updated the tests accordingly.

No tests

I am unsure what should be tested for - how would you verify it's returning the correct value?
It works on EndeavourOS with alacritty and Zellij.

Signed-off-by: Martin <81148675+Martian-0007@users.noreply.github.com>
Signed-off-by: Martin <81148675+Martian-0007@users.noreply.github.com>
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.

Add the battery item like in p10k
1 participant