Expose CycleInterval as parameter
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 18.1k
- Forks
- 656
- PR merge metrics
- No merged PRs in 30d
Description
Hi, nice project! I wish there was something similar for KDE Linux.
Seems like `CycleInterval` is hardcoded to 5 secs [here](https://github.com/matryer/xbar/blob/v2.1.7-beta/pkg/plugins/plugin.go#L166). Would it be a nice feature to expose it as a [line parameter](https://github.com/matryer/xbar-plugins/blob/main/CONTRIBUTING.md#parameters)?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in pkg/plugins/plugin.go around the hardcoded CycleInterval at line 166, then review the linked xbar-plugins CONTRIBUTING.md section on line parameters. Define what parameter input should control the interval and verify that the default five-second behavior remains unchanged when no parameter is supplied.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100