Advanced macOS sleep manager, based on open-source, enterprize and user friendly, Bash scripts that can also be used directly.
- User guiding interactive terminal app
- Disable sleep indfinitely at launch (if no delay timer is specified)
- Specify times disable sleep in hours, minutes and seconds at launch (e.g. ./terminawake 1h 30m 15s), & during runtime (coming soon).
- Prevent sleep on battery & while charging, including when a MacBook lid is closed.
- Press 'return' to enable sleep (on-screen instruction)
- Displays total sleep delay in seconds after launch
- Unique, and very simple deployment (single Terminal command (without password) to setup from the downloaded repo)
- Download this repository to your Downloads folder
- Paste & run this command in your Terminal (use the copy icon)
unzip ~/Downloads/TerminAWake*.zip -d ~/ && chmod +x ~/TerminAWake*/setup.sh && ~/TerminAWake*/setup.sh && sudo ~/TerminAWake*/terminawake.sh
- To start a Terminal (Press F4 or [command + space] & search 'Terminal')
- A shortcut was created where you chose to deploy the app
- Launch the script using
sudo ./terminawake
from its folder (or use the absolute path to teminawake.sh)
The app has a UI that guides you on how to use it
-
Issues
-
Features
- Convert to MacOS app
- Share downloadable executable file instead of script that needs to be setup and executed in terminal
- Create a basic MacOS UI based app
- Convert to MacOS app
- Locking a Mac when the screen turns off
- I'm unaware atm about a way to lock a Mac using Terminal commands. There's a screensaver value that controls the delay to ask for a password after the screen turns off (or after the screensaver is enabled). MacOS security blocks the terminal from changing that value. It might be possible to do by giving Terminal accesibility rights. But the program
Please feel free to contribute in your favorite way :) It would be appreciated.