Skip to content

πŸ¦‡ Dracula: use bat emoji for battery#381

Merged
ethancedwards8 merged 2 commits intodracula:masterfrom
spacebarlabs:benjaminoakes/bat-emoji-for-battery
Feb 2, 2026
Merged

πŸ¦‡ Dracula: use bat emoji for battery#381
ethancedwards8 merged 2 commits intodracula:masterfrom
spacebarlabs:benjaminoakes/bat-emoji-for-battery

Conversation

@benjaminoakes
Copy link
Copy Markdown
Contributor

Seems to me that it would make sense for the battery indicator for the Dracula theme to be a bat

I implemented it as an option rather than making it the default

Screenshot from 2026-01-21 16-19-25

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Jan 21, 2026

πŸ“ Walkthrough

Walkthrough

Documentation update replacing a heart icon with a bat icon in the battery widget configuration example within docs/CONFIG.md. No behavior or logic changesβ€”purely cosmetic modification to the documented configuration snippet.

Changes

Cohort / File(s) Summary
Documentation
docs/CONFIG.md
Updated battery widget label icon from heart (β™₯) to bat (πŸ¦‡) in configuration example.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

πŸš₯ Pre-merge checks | βœ… 2 | ❌ 1
❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
βœ… Passed checks (2 passed)
Check name Status Explanation
Title check βœ… Passed The title clearly and concisely describes the main change: using a bat emoji for the battery indicator in the Dracula theme, which matches the changeset.
Description check βœ… Passed The description is related to the changeset, explaining the rationale for the bat emoji change and mentioning it was implemented as an option (Easter egg).

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
πŸ§ͺ Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❀️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

bat_label="πŸ¦‡"
fi

if [ "$bat_label" == false ]; then
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This if statement is identical to the one starting above on line 164. Please remove it

@Theoreticallyhugo
Copy link
Copy Markdown
Collaborator

hi, we have an option for that.
just add set -g @dracula-battery-label πŸ¦‡ to your tmux.conf and you're good to go.
or are you aiming for something else?

@ethancedwards8
Copy link
Copy Markdown
Member

I think this PR is meant to be an Easter egg of sorts lol

@Theoreticallyhugo
Copy link
Copy Markdown
Collaborator

I think this PR is meant to be an Easter egg of sorts lol

aight, in that case i'll leave further decisions regarding this pr to you πŸ‘

@ethancedwards8
Copy link
Copy Markdown
Member

I mean tbh I don't see much value in it either.

@benjaminoakes
Copy link
Copy Markdown
Contributor Author

Yes, it's meant to be fun. Just an Easter egg since it's the Dracula theme. πŸ™‚

@Theoreticallyhugo
Copy link
Copy Markdown
Collaborator

we could change line 204 in CONFIG.md from
set -g @dracula-battery-label "β™₯ "
to
set -g @dracula-battery-label "πŸ¦‡ "
as an easter egg. that way we wouldn't actually change our code, incorporating it in a "harmless" way.

@ethancedwards8
Copy link
Copy Markdown
Member

I'm good with that solution

@benjaminoakes
Copy link
Copy Markdown
Contributor Author

Same. πŸ™‚ I'll make the change soon.

@ethancedwards8 ethancedwards8 merged commit f385531 into dracula:master Feb 2, 2026
2 checks passed
@benjaminoakes benjaminoakes deleted the benjaminoakes/bat-emoji-for-battery branch February 3, 2026 04:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants