Commit Graph
3 Commits
Author SHA1 Message Date
rootiest 163aa7d656 ️ perf(cache_stats): keep last known value
Keep the last value from the cache file in case we can't read it or it's empty, we can fallback to the last value.
2024-08-09 05:37:09 -04:00
rootiest 0c50bcd14b ♻️ refactor(cache-stats)!: refactor the wakatime and music stats modules
Modules now spawn the scripts automatically at startup and kill them at exit. Both stats are handled by a single script and a lockfile is used to avoid multiple instances spawning.

BREAKING CHANGE: Please remove any user services previously used to spawn scripts.
2024-08-08 22:40:00 -04:00
rootiest e1e59bfea5 ♻️ refactor(utils): move stats modules to utils
Move wakatime_stats and music_stats to new utils dir
2024-08-07 08:20:30 -04:00