This simple extension wants to mitigate the lack of a dedicated mouse wheel control on most of the modern linux distributions. Many are using imwheel as a temporary fix; however, if you are using a laptop, you might want to have two different settings for the touchpad and the mouse. This extension will add an icon in the top bar which lets you toggle imwheel between two custom settings. https://github.com/mijorus/toggle-imwheel
Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.
1. Remove logs. Log should be only avaialble in debug mode: https://gjs.guide/extensions/review-guidelines/review-guidelines.html#no-excessive-logging 2. Remove line 36. You cannot create objects in global scope: https://gjs.guide/extensions/review-guidelines/review-guidelines.html#only-use-init-for-initialization 3. Send `this.settings` (line 92) as dependency injection to `Indicator`. I mean this line: ```js class Indicator extends PanelMenu.Button { _init() { ``` will be: ```js class Indicator extends PanelMenu.Button { _init(settings) { ``` and line 94 will be: ```js this._indicator = new Indicator(this.settings); `` 4. Also do this on disable: ```js this.settings = null; ```