Compare commits

...

2 commits

Author SHA1 Message Date
d3ba932572 Merge branch 'main' of gitea.local:fred/PJ 2026-01-15 09:58:00 -08:00
htpc
f4b2f0ab77 source the .env 2026-01-14 14:04:37 -08:00
2 changed files with 3 additions and 0 deletions

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
/secrets.env
/tv_state
/debug
/.env

View file

@ -20,10 +20,12 @@ all(){
;;
"back")
echo "toggling livingroom lights"
source "$ROOT/.env"
curl -X POST -d '' $LIVINGROOM_LIGHTS_ENDPOINT
;;
"forward")
echo "toggling kitchen lights"
source "$ROOT/.env"
curl -X POST -d '' $KITCHEN_LIGHTS_ENDPOINT
;;
"split_right")