Qtile: unified rotating z.AI and GPT subscription quota widgets #203

Open
opened 2026-09-13 02:16:34 +00:00 by nsaspy · 0 comments
Owner

Requested by user: two widgets labelled z.AI and GPT, each cycling provider-reported five-hour, weekly and applicable quota windows; percent USED should progress green -> yellow -> red. Work with any plan tier, including Pro, without fixed entitlement tables.

Consume the provider-neutral llm-log snapshot/API from lost-rob0t/llm-log#79 / PR #82. No provider credentials or network calls in Qtile polling. Show unavailable/stale/reset-expired states explicitly. Retain existing OpenRouter telemetry, history and sync/reload behavior.

Canonical new source: .config/qtile/qtile-quotas.org -> qtile_quotas.py. Integrate into existing telemetry factory, pin the exact llm-log implementation, enable the Home Manager quota collector, document runtime-only credentials and GPT Codex-vs-ChatGPT scope. Verify Org/generated parity, full Qtile regressions, actual Qtile class construction, Nix syntax and separate host activation.

Left-click cycle/pause, middle-click resume, right-click plan/scope/reset details; defaults five-second rotation, green <70%, yellow >=70%, red >=90%. Github delivery is not proof of canonical Forgejo sync or live host deployment.

Requested by user: two widgets labelled z.AI and GPT, each cycling provider-reported five-hour, weekly and applicable quota windows; percent USED should progress green -> yellow -> red. Work with any plan tier, including Pro, without fixed entitlement tables. Consume the provider-neutral llm-log snapshot/API from lost-rob0t/llm-log#79 / PR #82. No provider credentials or network calls in Qtile polling. Show unavailable/stale/reset-expired states explicitly. Retain existing OpenRouter telemetry, history and sync/reload behavior. Canonical new source: .config/qtile/qtile-quotas.org -> qtile_quotas.py. Integrate into existing telemetry factory, pin the exact llm-log implementation, enable the Home Manager quota collector, document runtime-only credentials and GPT Codex-vs-ChatGPT scope. Verify Org/generated parity, full Qtile regressions, actual Qtile class construction, Nix syntax and separate host activation. Left-click cycle/pause, middle-click resume, right-click plan/scope/reset details; defaults five-second rotation, green <70%, yellow >=70%, red >=90%. Github delivery is not proof of canonical Forgejo sync or live host deployment.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nsaspy/dotfiles#203
No description provided.