Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 838 Bytes

README.md

File metadata and controls

37 lines (28 loc) · 838 Bytes

noSleep

Tired of having your system turn off in between a boring long build and lose progress? use noSleep

  • 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.

How to run

git clone https://github.com/prajwal678/noSleep.git
cd noSleep
python main.py <duration_in_minutes>

Making it an executable binary

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

TODO

  • make binary for win and macos
  • C/C++ version just because