Skip to content

chinanf-boy/keep-mac-light

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

keep-mac-light Build Status

keep mac no down standby mode

Install

  1. Install https://github.com/BlueM/cliclick Before
brew install cliclick
  1. Use keep-mac-light
npm i -g keep-mac-light

Use

keep-mac-light
Usage
	$ keep-mac-light [time] [Options]

Examples
	$ keep-mac-light

	set Time to no light, But os setting is First options < oo >

	$ keep-mac-light 1h3m5s

	after 1 hour 3 minutes 5 seconds, quit keep-mac-light

Optioins
	-d  "0.0 ~ 1.0"  {default: 0.1} <dark mode>

dark mode

  1. set brightness 0 -d 0

pkg https://github.com/kevva/brightness

  1. reset brightness before exit

pkg https://github.com/sindresorhus/exit-hook

How it Work ?

every 50s, use cliclick handle the mouse will move a lit bit, so Light is Up forEver

pkg

Live

help me live , live need money 💰

License

MIT © chinanf-boy

About

keep mac screen light 保持Mac 不进入待机

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published