Skip to content

Add reminder indicator to waybar#5794

Open
jamespember wants to merge 1 commit into
basecamp:devfrom
jamespember:waybar-reminder-indicator
Open

Add reminder indicator to waybar#5794
jamespember wants to merge 1 commit into
basecamp:devfrom
jamespember:waybar-reminder-indicator

Conversation

@jamespember
Copy link
Copy Markdown

@jamespember jamespember commented May 13, 2026

Summary

Adds a waybar indicator that shows active reminders at a glance -- a bell icon appears when reminders are set, hidden when there aren't any.

image
  • New indicator script (default/waybar/indicators/reminders.sh) follows the existing indicator pattern, reuses the same systemctl --output=json | jq approach as omarchy-reminder
  • Signal-based refresh (RTMIN+11) so the indicator updates instantly when reminders are set, fire, or cleared -- plus a 30s interval to keep the countdown tooltip current
  • Click to show, right-click to clear
  • Tooltip lists each reminder with its message and time remaining

How it looks

When reminders are active: 󰔛 (single) or 󰔛 3 (multiple). Hidden when empty. Hover shows e.g. "Check the oven in 12m".

Changes

  • default/waybar/indicators/reminders.sh -- new indicator script
  • bin/omarchy-reminder -- sends pkill -RTMIN+11 waybar on set, fire, and clear
  • config/waybar/config.jsonc -- adds custom/reminder-indicator module
  • config/waybar/style.css -- adds indicator to existing indicator style rules (horizontal + vertical bar)

Copilot AI review requested due to automatic review settings May 13, 2026 03:48
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a Waybar custom module to indicate when omarchy-reminder timers are active (bell icon + count), including tooltip details, click actions, and signal-based refresh so the indicator updates immediately when reminders are set/fired/cleared.

Changes:

  • Add a new Waybar indicator script that enumerates omarchy-reminder-*.timer units and renders an icon/count + tooltip.
  • Update omarchy-reminder to signal Waybar (RTMIN+11) on reminder set/fire/clear.
  • Register the new module in Waybar config and include it in existing indicator CSS rules.

Tip

If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

File Description
default/waybar/indicators/reminders.sh New indicator script that queries reminder timers and outputs Waybar JSON (text + tooltip).
bin/omarchy-reminder Emits RTMIN+11 Waybar signals when reminders are set, fired, or cleared.
config/waybar/config.jsonc Adds custom/reminder-indicator module (signal + interval + click actions) and places it in modules-center.
config/waybar/style.css Includes the new module ID in existing indicator styling blocks.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread default/waybar/indicators/reminders.sh
@jamespember jamespember force-pushed the waybar-reminder-indicator branch from e5eac92 to 37c6eba Compare May 13, 2026 04:30
Copilot AI review requested due to automatic review settings May 13, 2026 04:32
@jamespember jamespember force-pushed the waybar-reminder-indicator branch from 37c6eba to 357d3b9 Compare May 13, 2026 04:32
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

Comment thread default/waybar/indicators/reminders.sh
Show a bell icon in the waybar when reminders are active, with a count
for multiple reminders and a tooltip listing each one with time remaining.
Hidden when no reminders are set.

Click shows reminders, right-click clears all. The indicator refreshes
instantly via signal when reminders are set, fire, or cleared, with a
30s interval to keep the countdown tooltip current.
@jamespember jamespember force-pushed the waybar-reminder-indicator branch from 357d3b9 to e4c8398 Compare May 13, 2026 04:36
@brink-lab
Copy link
Copy Markdown
Contributor

I believe the bell icon is already used (with a line over) on Waybar to indicate that the user has set notifications to silenced.
Maybe it is confusing to use the same icon for reminders, as we would have a Waybar with two opposing bell icons?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants