6 Commits
Author SHA1 Message Date
rootiest 273580f533 ♻️ refactor(full-scope)!: major revision refactoring
Code layout has been changed and improoved. Annotations are added for documentation. Automated through utility functions and data tables

BREAKING CHANGE: Tested from clean. Now properly uses LuaRocks to install dependencies.
2024-09-04 16:07:12 -04:00
rootiest a23fc9c643 feat(utils): add type annotations and inline documentation to various utility modules 2024-08-31 03:02:33 -04:00
rootiest 52948a9c74 🐛 fix(music-stats): add check for empty artist and title strings
Hide component when text is not present
2024-08-17 01:15:30 -04:00
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