Restores brightness on login and provides persistent software brightness control for external monitors.
Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.
1. Please don't store any instance of objects in a property in the default class you are exporting (line 63 `prefs.js`) that won't allow the garbage collector to do its job after window close: [EGO Review Guidelines: Destroy](https://gjs.guide/extensions/review-guidelines/review-guidelines.html#destroy-all-objects) If you don't want to move that local, you can clean up on: ```js window.connect('close-request', () => { // clean up here }); ``` 2. Use the instance that already created in the entry point (line 18 `extension.js`): ```js this._settings = extension._settings; ```` 3. Better to remove line 187 `library/utils.js` and only create it where you are using it or make it a function so it is not in global scope.
Sorry... it seems this would more "polish" to be done, give me a few minutes to fix all the issues.