@naarang/glancebar 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/src/cli.ts +2 -2
package/README.md
CHANGED
|
@@ -188,7 +188,7 @@ Context usage color changes based on percentage:
|
|
|
188
188
|
| Later | `HH:MM AM/PM: Title (account)` | `2:30 PM: Meeting (work)` |
|
|
189
189
|
| No events | `No upcoming events` | |
|
|
190
190
|
|
|
191
|
-
### Health Reminders (~
|
|
191
|
+
### Health Reminders (~5% chance)
|
|
192
192
|
|
|
193
193
|
| Type | Color | Example |
|
|
194
194
|
|------|-------|---------|
|
package/package.json
CHANGED
package/src/cli.ts
CHANGED
|
@@ -888,8 +888,8 @@ function getRandomReminder(config: Config): string | null {
|
|
|
888
888
|
|
|
889
889
|
if (enabledReminders.length === 0) return null;
|
|
890
890
|
|
|
891
|
-
// ~
|
|
892
|
-
if (Math.random() >= 0.
|
|
891
|
+
// ~5% chance to show any reminder (reduced from 30% to be less intrusive)
|
|
892
|
+
if (Math.random() >= 0.05) return null;
|
|
893
893
|
|
|
894
894
|
// Pick a random reminder type from enabled ones
|
|
895
895
|
const randomPicker = enabledReminders[Math.floor(Math.random() * enabledReminders.length)];
|