Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

keep-screen

Small macOS CLI to toggle screen saver / display sleep / password-delay settings.

Usage

./keepscreen on
./keepscreen off
./keepscreen status
./keepscreen --dry-run on

keepscreen on sets:

  • Screen saver: Never
  • Display sleep (battery + power adapter): Never
  • Password after screen saver/display off: Never

keepscreen off restores the screenshot preset:

  • Screen saver starts after 3 minutes idle
  • Display turns off after 5 minutes (battery + power adapter)
  • Password required after 5 minutes

Install (optional)

chmod +x ./install.sh
./install.sh

Notes

  • pmset changes require admin privileges; the script will prompt via sudo.
  • Settings apply to the current macOS user (for screen saver and password delay).

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages