cdown / clipmenu

Clipboard management using dmenu
MIT License
1.14k stars 91 forks source link

Correct type and fix deletion threshold check #225

Closed N-R-K closed 2 weeks ago

N-R-K commented 5 months ago

The current check doesn't make much sense. With the default values, this check will always be true when there's more than 100 clips but no deletion happens until there's at least 1000 clips.

I'm assuming this was meant to be max_clips + batch, which would make it work similarly to the old bash script's CM_MAX_CLIPS_THRESH.

cdown commented 2 weeks ago

Thanks!