replaces hardcoded values with env var

This commit is contained in:
2026-01-12 21:02:19 -05:00
parent b167041ce2
commit a3d5d2cbfa
3 changed files with 76 additions and 13 deletions

View File

@@ -26,6 +26,15 @@ It progresses **only during your scheduled work hours**
- During the day, the bar fills smoothly
- End of Wednesday = **100% freedom**
### Configuration
| Variable | Default | Description |
|--------|---------|-------------|
| WORK_START_TIME | 07:00 | Workday start (HH:MM) |
| WORK_END_TIME | 17:30 | Workday end (HH:MM) |
| WORK_DAYS | 0,1,2,3 | JS day numbers (Sun=0) |
| UPDATE_INTERVAL_MS | 60000 | Update frequency |
---
## 🛠 Tech Stack