Automatically save and reset OSX Hotcorners
$ npm i -g osx-hotcorners
To run, open your terminal and run:
This will run the script which will change the hotcorners. By default, in anti-clockwise order from the top left: Put Display to Sleep, Application Windows, Desktop, and Mission Control.
There currently is not an option to set up your own settings for the hotcorners, or to return the previous settings; it will reset to the options above. Please open an issue if you'd like to work on this.
MIT © 2016-2018 Richard Littauer