Signal-first refresh
The module is configured with interval: "once" and listens for SIGRTMIN+4. The daemon emits that signal after every state change, so Waybar redraws only when dots move.
waybar-native
Track every long-running task, persistent custom indicator, or ambient signal with colored glyphs in Waybar. The daemon keeps its state across reboots while emitting precise RT signals to keep your panel responsive.
See usage →The module is configured with interval: "once" and listens for SIGRTMIN+4. The daemon emits that signal after every state change, so Waybar redraws only when dots move.
Every mutation writes JSON to $XDG_DATA_HOME/pinglo/state.json (override via $PINGLO_STATE_FILE). After a reboot the dots reappear exactly as before.
Besides the shell hooks, you can manage colored dots with pinglo dot set/remove, each accompanied by a tooltip and status that render left-to-right in Waybar.
Use the CLI hooks for ad-hoc commands, persist custom indicators via the dot API, and pair the JSON renderer with this Waybar module snippet.
return-type: "json"
exec: "pinglo render --format waybar"
interval: "once"
signal: 4
escape: false
markup: "pango"