Conversation
Shows whether the DeepSeek API is billed at peak (2x) or off-peak rates: a coloured dot and a live HH:MM:SS countdown in the bar, plus an info panel with today's windows in local, UTC and Beijing time. - Main.qml owns schedule state, the optional policy-drift checker and IPC. - Peak 01:00-04:00 and 06:00-10:00 UTC Mon-Fri; weekends off-peak, anchored to the Beijing calendar. - Offline-first: bundled schedule; the online check only adds an amber drift warning and never blanks the widget. - 23 locales under i18n/ (Noctalia's supported language list).
|
Note on CI:
That is the |
Bar and panel now compute tier/countdown locally (peak.js inlined into all three components) and use Main.qml only for drift and last-check time, so a missing or failed Main can never blank the widget.
|
Ping on the two red checks:
That is For what it's worth, I checked the plugin against the rules in both workflows: the manifest has all required fields with the registry |
What this adds
DeepSeek Peak Hours — a bar widget showing whether the DeepSeek API is currently billed at peak (2x) or off-peak rates.
HH:MM:SScountdown to the next rate flip in the bar; left-click opens an info panel with today's windows in local, UTC and Beijing time.Structure
Main.qml— shared state (schedule math, countdown), the policy-drift checker, translated strings, IPC (plugin:deepseek-peak).BarWidget.qml— capsule (dot + countdown), tooltip, left-click toggles the panel, right-click opens widget settings.Panel.qml— info-only panel using the registry panel contract (geometryPlaceholder,allowAttach, dynamiccontentPreferredHeight).Settings.qml/SettingsControls.qml— the Configure surface.i18n/— 23 locales, matching Noctalia'savailableLanguages.How to test
deepseek-peak/into~/.config/noctalia/plugins/and enable it (tested withnoctalia-shell4.7.7 on Niri).Notes
preview.png(16:9, 960x540) included.