- Will restore old sleep settings once program ends thus not having to keep changing it manually everytime you're building and can be run on the terminal.
git clone https://github.com/prajwal678/noSleep.git
cd noSleep
python main.py <duration_in_minutes>
FOR LINUX setting up pyinstaller
python -m venv noSleep
source noSleep/bin/activate
pip install pyinstaller
to make the binary and add it to local bin to use anywhere
pyinstaller --onefile --name="noSleep" main.py
sudo mv dist/noSleep /usr/local/bin/
sudo chmod +x /usr/local/bin/noSleep
- make binary for win and macos
- C/C++ version just because