Easily enable or disable your secondary monitor with a single click. This extension adds a toggle button to the system menu, allowing you to quickly switch your second screen on or off without needing to navigate through settings. It automatically detects your connected monitors and their configurations, making it simple to manage your multi-monitor setup.
Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.
I refactored the logic, so I don't need the first timeout anymore. The only one left has been destroyed.
You should hold the instance of `SecondMonitorToggle` (line 172) in a property so you can call `.destroy()` on it when you call `SecondMonitorIndicator.destroy()`: ```js class SecondMonitorIndicator extends SystemIndicator { //... destroy() { // clear the instance of SecondMonitorToggle here. // and then you can call super.destroy() super.destroy(); } ```