IlanCosman / tide

🌊 The ultimate Fish prompt.
MIT License
2.74k stars 103 forks source link

feat: add mac battery item #505

Open ariscript opened 1 month ago

ariscript commented 1 month ago

Description

Add a new prompt item (disabled by default, since it works only on macOS) to display battery percentage. Requires two variables to be set $tide_mac_battery_icons and $tide_mac_battery_colors.

How Has This Been Tested

Currently have it set on my right prompt and it works as I expect.

Checklist

Not really sure there are tests for this for me to update, but if you point me to them I can do it.