SUPERCILEX / clipboard-history

Ringboard—the clipboard manager for Linux
Apache License 2.0
141 stars 5 forks source link

Support configuration changes #9

Open SUPERCILEX opened 1 month ago

SUPERCILEX commented 1 month ago

Add a way to change the maximum number of items that can be in each ring. Should probably be a default and then an override by ring ID.

Copied from #3: Changing the max number of items:

SUPERCILEX commented 1 month ago

We could also support changing the garbage collection frequency and maximum allowed garbage per collection.

SUPERCILEX commented 1 month ago

I take it back: I'm going to implement garbage collection as a check that happens every time the bucket free list changes instead of on a timer and the threshold amount of garbage to remove shouldn't be configuration because it'll have the same problems as hashmap load factors (nobody knows what they're doing).