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.
 
 
mahuntington 060bfcf524
Update 'README.md'
9 months ago
.gitignore ignore dist/build 10 months ago
README.md Update 'README.md' 9 months ago
darkmode Update 'darkmode' 9 months ago
elgato.py dynamically find ips of lights 10 months ago
elgato.spec latest build 10 months ago
requirements.txt pyinstaller added to requirements 10 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

move dist/elgato to /usr/local/bin

Execution

elgato day
elgato night

Darkmode script

Installation

install the following:

git clone https://github.com/nriley/brightness.git
cd brightness
make                                                    
sudo cp brightness /usr/local/bin/brightness

Download https://github.com/jenghis/nshift and move into /usr/local/bin/

Setup

move darkmode into /usr/local/bin/

Execution

darkmode true
darkmode false