Files
neovim-config/scripts/update_wakatime.sh
T
rootiest 1cb641b326 ️ perf(wakatime): use script to cache wakatime stats
Refactor wakatime lualine component to use an external script to cache the wakatime stats
2024-08-03 22:46:21 -04:00

8 lines
174 B
Bash
Executable File

#!/bin/bash
# Update the cache file with the Wakatime CLI command
while true; do
~/.wakatime/wakatime-cli --today >~/.cache/wakatime_cache.txt 2>/dev/null
sleep 60
done