omarchy-grok-usage/systemd/omarchy-grok-usage.service
Ebeneezer 88073c4bea fix: emit 0-1 limit fractions and refresh the agents panel
Omarchy's panel treats percent as a fraction (1.0 = 100%). Vendor
creditUsagePercent is 0-100, so 1.0 was rendering as a full bar.
After writing grok.json, ping omarchy.agents refresh so the widget
rescans without a shell restart.
2026-08-20 15:39:06 -07:00

13 lines
290 B
Desktop File

[Unit]
Description=Refresh SuperGrok usage for the Omarchy agents panel
After=network-online.target
Wants=network-online.target
[Service]
Type=oneshot
Environment=OMARCHY_PATH=/usr/share/omarchy
ExecStart=%h/.local/bin/omarchy-grok-usage --write
Nice=10
[Install]
WantedBy=default.target