You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
2 months ago | |
|---|---|---|
| .gitignore | 3 years ago | |
| README.md | 2 months ago | |
| darkmode | 2 months ago | |
| elgato.py | 2 months ago | |
| elgato.spec | 2 months ago | |
| requirements.txt | 2 months ago | |
README.md
Manual
elgato.py file
Setup
clone and cd into repo dir
python3 -m venv ~/elgato_env
source ~/elgato_env/bin/activate
pip install -r requirements.txt
Compilation
make sure ~/elgato_env has been activated and you are in repo dir
pyinstaller -F elgato.py
Execution
substitute correct repo location and IP addresses of lights (get from Elgato Control Center app):
~/Documents/git/elgato/dist/elgato 192.168.1.2 192.168.1.4 day
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/elgatoin path) - ip addresses of lights (get from Elgato Control Center app)
brightness -ddisplay number (usebrightness -l)
move darkmode into /usr/local/bin/
Execution
darkmode true
darkmode false