====== Differences ====== This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
script_battery_widget [2015/03/15 13:18] jappie script name |
script_battery_widget [2015/11/02 23:34] (current) clockworkbastard [How to use the script] |
||
|---|---|---|---|
| Line 7: | Line 7: | ||
| ====== How to use the script ====== | ====== How to use the script ====== | ||
| - | * Create shortcut "Lightning Action - Do Nothing" to run this script. | ||
| - | * Disable Icon | ||
| - | * Set 'BattW-resume' script to event resume | ||
| - | * Set 'BattW-pause' script to event pause | ||
| + | * Install [[https://play.google.com/store/apps/details?id=com.trianguloy.llscript.repository|Repository Importer - LLScript]] to import both script parts (**BattW-resume** and **BattW-pause**) directly from that page | ||
| + | * Create dynamic content - **badge** | ||
| + | * Make sure Expert mode is on in the LL settings (for expert events) | ||
| + | * Set event resumed to run script **BattW-resume** | ||
| + | * Set event paused to run script **BattW-pause** | ||
| + | * Resize to a desired fit | ||
| + | * Decrease upper and bottom **margins** to **-8** to fit a small text on a very thin bar | ||
| ====== Script code ====== | ====== Script code ====== | ||
| ======= BattW-resume ======= | ======= BattW-resume ======= | ||