Skip to content

Add battery item#578

Open
Martian-0007 wants to merge 2 commits intoIlanCosman:mainfrom
Martian-0007:main
Open

Add battery item#578
Martian-0007 wants to merge 2 commits intoIlanCosman:mainfrom
Martian-0007:main

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