Commit Graph
14 Commits
Author SHA1 Message Date
rootiest 25143ee857 refactor: standardize naming for utility module 2024-08-23 10:02:23 -04:00
rootiest ccba071dce refactor: simplify hooks setup in highlight.lua 2024-08-23 10:01:35 -04:00
rootiest 0650f4c430 refactor(cache): use vim.fs.joinpath for constructing cache script path 2024-08-23 10:01:01 -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 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 82cc6d8757 ♻️ refactor(git-plugins): create a git category and move relevant plugins there
Moved git plugins into their own category
2024-08-17 00:41:28 -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 6a17dac714 ️ perf(cache_stats): ensure only one instance
Ensures only a single instance of the cache_stats script is active
2024-08-09 05:36:04 -04:00
rootiest 57c85a871f ♻️ refactor(rootilities): rooticolor -> rootilities
Rename rooticolor as it now includes more general utilities
2024-08-09 05:32:08 -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 bd102d4daa ♻️ refactor(highlight): move highlight file
Move highlight file to utils
2024-08-07 19:53:05 -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
rootiest 25352b81a0 ♻️ refactor(rooticolor): move color utilities to module
Create a rooticolor module for color utilities that are used in multiple locations in config
2024-08-07 08:19:21 -04:00