DankMaterialShell icon indicating copy to clipboard operation
DankMaterialShell copied to clipboard

Graph versions of all the numerical widgets

Open otaj opened this issue 1 year ago • 2 comments

Feature Description

Would it be possible to have a graph version of the widgets, that give numerical values, such that you can see historical data? Ideally, soemthing similar to https://docs.qtile.org/en/stable/manual/ref/widgets.html#cpugraph

Use Case

Having a historical data to take a look at is useful.

Compositor

Is this feature specific to one compositor?

  • [x] All compositors
  • [ ] niri
  • [ ] Hyprland

Proposed Solution

Alternatives/Existing Solutions

otaj avatar Oct 01 '25 19:10 otaj

dgop is stateless, which is kinda of its unique feature that makes it work so quickly and light.

For this, it would require running a persistent metrics service. Which luckily, dgop also has the ability to run as a server. But I never added persistent monitoring to it.

So it'd be two parts:

  1. Extend dgop to be able to run its server in persistence mode, which would require some knobs for periodic sampling. Configure a database (I would prefer ent and sqlite would make the most sense)
  2. Extend the shell to support the historical APIs that would need to be added to dgop in persistence mode.

(I'm not going to get to this anytime soon, tbh - but adding context for potential contributors)

bbedward avatar Oct 01 '25 21:10 bbedward

Done with 3f92e48f60ff1d7d9a46105afb12d6186cd1728c Please check on the lastest master if this is what you intended (or on the next release once its out) @otaj and reopen the issue with more details if not. Closing this for now

Conava avatar Nov 28 '26 13:11 Conava