Skip to content
This repository has been archived by the owner on Sep 9, 2021. It is now read-only.
/ win-decaffeinate Public archive

A command for Windows that performs the "opposite" of win-caffeinate

License

Notifications You must be signed in to change notification settings

iorate/win-decaffeinate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

win-decaffeinate

A command for Windows that performs the "opposite" of win-caffeinate. It can put the display and system to sleep.

Example

$ decaffeinate -d

decaffeinate puts the display to sleep.

$ decaffeinate -t 3600

decaffeinate puts the system to sleep and awakes it in 3600 seconds.

Requirements

To build it, a compiler that supports C++17 is required.

Usage

$ decaffeinate --help
Usage: decaffeinate [OPTION...]
  put the system to sleep

Options:
  -h         --help            display this help and exit
  -v         --version         display the version info and exit
  -d         --display         put only the display to sleep
  -t PERIOD  --timeout=PERIOD  specify the timeout value in seconds

Author

iorate (Twitter)

License

Boost Software License 1.0

About

A command for Windows that performs the "opposite" of win-caffeinate

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published