Add current power profile as system indicator. Scroll to change profile. Very light extension.
Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.
| Version | Status |
|---|---|
| 17 | Active |
| 16 | Active |
| 15 | Active |
| 14 | Active |
| 13 | Active |
| 12 | Active |
| 11 | Active |
| 10 | Active |
| 9 | Rejected |
| 8 | Active |
| 7 | Active |
| 6 | Active |
| 5 | Active |
| 4 | Active |
| 3 | Rejected |
| 2 | Active |
| 1 | Rejected |
Hi JP, The GS 45 one! You see that I did crawl in GS to shorten the code ;-) Hope all is ok, this time. ^^ More seriously, if you have a simple way to wait for Main.panel.statusArea['quickSettings']._powerProfiles.quickSettingsItems[0] to be ready instead of the timeout hack (that does work, though !), I'll be happy to get it. Thanks!
Timeout should be removed on destroy (line 22 `extension.js`): [EGO Review Guidelines: Timeout](https://gjs.guide/extensions/review-guidelines/review-guidelines.html#remove-main-loop-sources) Anyway, in this case, I prefer using `idle_add()` instead. If you used that, please also remove the `idle_add()` source id on destroy.