Commit Graph
8 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 25143ee857 refactor: standardize naming for utility module 2024-08-23 10:02:23 -04:00
rootiest 349f80f7ea ♻️ refactor(rootilities): utils.rootilities -> utils.rootiest
Rename the rootilities module to make it less wordy
2024-08-17 00:43:49 -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 d640bb6816 🐛 fix(wakatime): address missing wakatime data
When the wakatime_stats cache file is missing or empty, return an empty string so lualine will hide the component
2024-08-08 04:16:27 -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