a dynamic battery level indicator for i3blocks
- The module script itself is ready for use (assuming you want the indicator as shown in the above animation)
- My goal is to use nothing more than bash-builtins, but you can do what you want.
- For anyone wanting to try their own colors/customizations:
- Have at it!
- Provide your own custom color palette by changing the values of the "baseColors" list.
- Color testing is built in (mouse clicks 3-6)
- There is also a single (un/)commentable line for creating your own animated .gif, similar to the one shown above
-- (useful for seeing the entire spectrum of transitions, rather than temporarily simulating each one individually) - All of these testing options (and any comments) can obviously be removed if/when you have no use for them.