Skip to content

garygrossgarten/wach

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

22 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

wach

prevent your mac from going to sleep when closing the lid. πŸ‘€.

npm version

This is a simple cli tool to prevent your MacBook from going to sleep when closing the lid. Use it instead of running tools that require a Kernel Extension.

Tested on macOS Mojave 10.14.2

Installation

npm install -g @garygrossgarten/wach

Usage example

Enable sleep prevention β˜•

wach enable

If you want to disable sleep prevention again πŸ›

wach disable

To get a report of all the current Power Management settings πŸ”‹

wach report

Development setup

  1. Clone the repository and cd into the directory
  2. run npm install
  3. run npm run build
  4. run the application by using node . or npm run start

License

Distributed under the MIT license. See LICENSE for more information.

https://github.com/garygrossgarten/wach

About

πŸ’» easy to use cli tool to prevent your mac from going to sleep when closing the lid. πŸ‘€

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published