feat: add Sketchybar integration example#54
Open
RoseSecurity wants to merge 1 commit intoopen-pomodoro:mainfrom
Open
feat: add Sketchybar integration example#54RoseSecurity wants to merge 1 commit intoopen-pomodoro:mainfrom
RoseSecurity wants to merge 1 commit intoopen-pomodoro:mainfrom
Conversation
Add example configuration and plugin script for integrating openpomodoro-cli with Sketchybar. Includes setup instructions, a shell script for status display, and a sample Sketchybar config snippet.
There was a problem hiding this comment.
Pull request overview
This pull request adds a Sketchybar integration example for displaying pomodoro timer status in the macOS menu bar. The integration includes a shell script plugin that queries the pomodoro CLI status and updates a Sketchybar item with appropriate icons, labels, and colors based on the timer state (inactive, active, or done).
Changes:
- Added a Sketchybar plugin script that integrates with the pomodoro CLI tool
- Added configuration snippet for setting up the Sketchybar item
- Added setup documentation with installation and configuration instructions
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| examples/sketchybar/plugins/pomodoro.sh | Shell script plugin that queries pomodoro status and updates Sketchybar display with icons and remaining time |
| examples/sketchybar/sketchybarrc | Configuration snippet for creating and styling the Sketchybar pomodoro item and bracket |
| examples/sketchybar/README.md | Setup instructions for installing and configuring the Sketchybar integration |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Author
|
@justincampbell Any thoughts on this? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and Why
pomodoro.shthat queries the pomodoro status and updates the Sketchybar item with appropriate icons, labels, and colors based on the timer state.sketchybarrcconfiguration to create and style the pomodoro item and bracket in Sketchybar, including update frequency, icons, and background settings.README.mdwith setup instructions for copying the plugin, configuring paths, updating Sketchybar, and integrating the configuration snippet.@justincampbell