@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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. 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 (~30% chance)
191
+ ### Health Reminders (~5% chance)
192
192
 
193
193
  | Type | Color | Example |
194
194
  |------|-------|---------|
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naarang/glancebar",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "A customizable statusline for Claude Code - display calendar events, tasks, and more at a glance",
5
5
  "author": "Vishal Dubey",
6
6
  "license": "MIT",
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
- // ~30% chance to show any reminder
892
- if (Math.random() >= 0.3) return null;
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)];