https://github.com/orc/zzz
A command-line MacOS sleep program (like SleepNow)
https://github.com/orc/zzz
Last synced: about 1 year ago
JSON representation
A command-line MacOS sleep program (like SleepNow)
- Host: GitHub
- URL: https://github.com/orc/zzz
- Owner: Orc
- License: other
- Created: 2011-08-10T21:08:37.000Z (almost 15 years ago)
- Default Branch: main
- Last Pushed: 2024-09-11T20:30:41.000Z (almost 2 years ago)
- Last Synced: 2025-04-21T07:41:42.796Z (about 1 year ago)
- Language: C
- Homepage:
- Size: 9.77 KB
- Stars: 35
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Zzz
> A command-line MacOS sleep program (like SleepNow)
## Installation
Traditional unix-style installation:
> 1. `make Zzz`
> 3. `sudo make install`
> 4. Is `/usr/local/bin` in your `$PATH`? If not, you can define it in your `~/.profile`
Alternatively, you can use [Homebrew](https://brew.sh) to do the installation:
> 1. If needed, install brew on your mac.
> 2. `brew install Zzz`
## Running
Want to put your mac to sleep? Type 'Zzz' and it will immediately sleep (and, of course, it can be awakened in the usual way.)