In a vm, on very little cpu, yadm-checker uses too much cpu. I have reduced the interval in polybar to call yadm-checker to once every 10 seconds for a short term fix. It seems like the most intense part is the diff between remote and local commits.
I think it might be a good idea to have the script accept input, and push information to it from git hooks in yadm instead of it polling yadm (git) constantly.
In a vm, on very little cpu, yadm-checker uses too much cpu. I have reduced the interval in polybar to call yadm-checker to once every 10 seconds for a short term fix. It seems like the most intense part is the diff between remote and local commits.
I think it might be a good idea to have the script accept input, and push information to it from git hooks in yadm instead of it polling yadm (git) constantly.