Skip to content

Add release notes tooltip to waybar update indicator#4904

Closed
syabro wants to merge 1 commit intobasecamp:devfrom
syabro:update-tooltip-release-notes
Closed

Add release notes tooltip to waybar update indicator#4904
syabro wants to merge 1 commit intobasecamp:devfrom
syabro:update-tooltip-release-notes

Conversation

@syabro
Copy link
Copy Markdown

@syabro syabro commented Mar 5, 2026

Summary

  • Show version info and release notes on hover over the update icon in waybar
  • Right-click opens full release notes in $EDITOR
  • Left-click still runs omarchy-update as before
  • When multiple releases are pending, shows notes for each version

Changes

  • bin/omarchy-update-available-tooltip — new script that fetches release notes via gh api and outputs JSON for waybar with Pango-formatted tooltip
  • config/waybar/config.jsonc — updated custom/update module to use return-type: json and the new script

Dependencies

  • gh (GitHub CLI) — for fetching release notes via API
  • jq — for JSON output formatting

Screen

image

Copilot AI review requested due to automatic review settings March 5, 2026 05:29
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 richer hover/click behavior for the Waybar update indicator by switching the module to JSON output and introducing a new helper script that fetches and formats GitHub release notes.

Changes:

  • Update custom/update Waybar module to use return-type: json, call the new tooltip script, and add a right-click action for full notes.
  • Add omarchy-update-available-tooltip script to detect pending updates, fetch release notes via gh api, and emit JSON with a Pango-formatted tooltip.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
config/waybar/config.jsonc Switches update module to JSON output, new exec script, and adds right-click for full release notes.
bin/omarchy-update-available-tooltip New script that checks tags, fetches release notes, builds tooltip/full text, and outputs Waybar JSON.

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

You can also share your feedback on Copilot code review. Take the survey.

@dhh
Copy link
Copy Markdown
Member

dhh commented Mar 7, 2026

We've looked at this a few times in the past, and I think we're better off just leaning on the link to the latest releases when you click to update. That also accommodates for the fact that someone might be multiple versions behind.

@dhh dhh closed this Mar 7, 2026
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