====== Differences ====== This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
script_battery_widget [2015/11/02 23:24] clockworkbastard [How to use the script] |
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 badge to use this script. | + | |
| + | * 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) | * Make sure Expert mode is on in the LL settings (for expert events) | ||
| - | * Set event resumed to run script 'BattW-resume' | + | * Set event resumed to run script **BattW-resume** |
| - | * Set event paused to run script 'BattW-pause' | + | * Set event paused to run script **BattW-pause** |
| * Resize to a desired fit | * Resize to a desired fit | ||
| - | * Decrease upper and bottom margins to -8 to fit a small text on a very thin bar | + | * 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 ======= | ||