From d03f736b030dce45229f4db79642f830a3c295cb Mon Sep 17 00:00:00 2001 From: mahuntington Date: Sun, 12 Oct 2025 23:13:52 -0400 Subject: [PATCH] Update 'README.md' --- README.md | 50 +++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 39 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 43501d1..7f89992 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,10 @@ -## Setup +# Manual -`cd` into repo dir +## elgato.py file + +### Setup + +clone and `cd` into repo dir ``` python3 -m venv ~/elgato_env @@ -8,24 +12,48 @@ source ~/elgato_env/bin/activate pip install -r requirements.txt ``` -for `darkmode` script +### Compilation + +make sure `~/elgato_env` has been activated and you are in repo dir ``` -brew install brightness -brew install smudge/smudge/nightlight +pyinstaller -F elgato.py ``` -Download https://github.com/jenghis/nshift +### Execution -## Compile +substitute correct repo location and IP addresses of lights (get from Elgato Control Center app): ``` -source ~/elgato_env/bin/activate -pyinstaller -F --paths=~/Desktop/ elgato.py +~/Documents/git/elgato/dist/elgato 192.168.1.2 192.168.1.4 day ``` -## Execution +## Darkmode script + +### Installation + +install the following (might not need `nightlight`): + +``` +brew install brightness +brew install smudge/smudge/nightlight +``` + +Download https://github.com/jenghis/nshift and move into `/usr/local/bin/` + +### Setup + +edit `darkmode` for: + +- local repo location (include `dist/elgato` in path) +- ip addresses of lights (get from Elgato Control Center app) +- `brightness -d ` display number (use `brightness -l`) + +move `darkmode` into `/usr/local/bin/` + +### Execution ``` -~/Documents/elgato/dist/elgato 192.168.1.2 192.168.1.4 day +darkmode true +darkmode false ``` \ No newline at end of file