source the .env

This commit is contained in:
htpc 2026-01-14 14:04:37 -08:00
parent ef77c68b80
commit f4b2f0ab77
2 changed files with 3 additions and 0 deletions

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")