tmux-battery icon indicating copy to clipboard operation
tmux-battery copied to clipboard

Battery live icon

Open Ethanol48 opened this issue 2 years ago • 5 comments

Implementation of icon that changes depending if the device is charging

Ethanol48 avatar Jan 18 '23 21:01 Ethanol48

Screenshot 2023-01-18 at 22 50 58 Screenshot 2023-01-18 at 22 49 58

This are simple examples of the feature

these are the "normal" ones:

Screenshot 2023-01-18 at 22 58 17

and these ones are displayed when the computer is charging:

Screenshot 2023-01-18 at 22 58 27

Ethanol48 avatar Jan 18 '23 22:01 Ethanol48

Looking at the diff I see the font encoding does not recognize these icons. Which font is being used here? What happens if I do not have this font?

martinbeentjes avatar Dec 01 '23 08:12 martinbeentjes

It's being used a nerd font, it needs to be installed manually by the user, but offers more clearer icons

Ethanol48 avatar Dec 09 '23 12:12 Ethanol48

These are some example of what it is rendered if the NerdFont is installed, I also added 10 'levels' of colors for making more obvious the charge level

Screenshot 2023-12-09 at 15 59 51 Screenshot 2023-12-09 at 18 42 12 Screenshot 2023-12-09 at 18 42 58

Ethanol48 avatar Dec 10 '23 14:12 Ethanol48

recently Nerdfont change their encodings and with it they added more icons, now this "module" has ten levels of battery icons.

Screenshot 2023-12-11 at 15 45 28 Screenshot 2023-12-11 at 15 46 09

Ethanol48 avatar Dec 11 '23 14:12 Ethanol48