Skip to content

[Feature]: Allow choosing which usage window is shown in DankBar #17

Description

@knifebunny

Problem

For providers like Claude that have more than one usage window, the DankBar currently seems to always show the primary window.

In my case Claude has both a 5 hour and 7 day limit. I find the 7 day usage much more useful to keep visible in the bar, as it gives me a better idea of how quickly I'm working through my overall weekly allowance. I still want to see the 5 hour window when I open the full dashboard.

At the moment I'm seeing something like 8% for the 5 hour window in DankBar, while my 7 day usage is 31%, which is the number I'd rather have visible all the time.

Proposed solution

t would be useful to have a setting that lets you choose which usage window is displayed in DankBar for providers that expose multiple windows.

For example, for Claude:

5 hour
7 day
possibly Highest / Most constrained

I think this should only change what is shown in the bar rather than changing which window the plugin considers primary everywhere else. The expanded dashboard could continue showing all available windows as it does now.

If this could be configured per provider that would probably be ideal, since the useful window may be different between Claude, Codex, or other providers.

Scope

Provider support

Alternatives considered

I looked at modifying the QML locally so the Claude DankBar percentage uses the secondary/7 day window instead of the primary/5 hour window.

That should work as a workaround, but it would be overwritten by future plugin updates and hard-codes the choice rather than making it configurable.

Activity

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions