-
Notifications
You must be signed in to change notification settings - Fork 423
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
_lp_battery() now returns the battery percentage in lp_battery. It also returns 5 when disabled (still 4 when full or no data). _lp_battery_color() now returns the formatted string in lp_battery_color. It also returns 2 when disabled (still 1 when no string returned). Add a version of _lp_battery() for when OS is not Linux or Darwin that only returns 5.
- Loading branch information
Showing
1 changed file
with
31 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters