mirror of
https://github.com/zyqunix/tools.git
synced 2025-07-05 22:10:31 +02:00
remake entire wakatime
Some checks failed
Deploy static content to Pages / deploy (push) Failing after 4s
Some checks failed
Deploy static content to Pages / deploy (push) Failing after 4s
This commit is contained in:
parent
28da635859
commit
de5a113001
4 changed files with 243 additions and 11 deletions
|
@ -1,3 +1,4 @@
|
|||
import * as wakatime from "./wakatime.js";
|
||||
const timeElem = document.getElementById('time');
|
||||
const timezone = 'Europe/Berlin';
|
||||
|
||||
|
@ -240,6 +241,8 @@ function fetchWeather(location) {
|
|||
});
|
||||
}
|
||||
|
||||
wakatime.fetchWakatime("#wakapi", "zyqunix", "all_time");
|
||||
|
||||
const messages = [
|
||||
"Coding",
|
||||
"Listening to Music",
|
||||
|
@ -346,4 +349,4 @@ document.addEventListener("keydown", function (e) {
|
|||
if (e.key === "Escape") closeOverlay("music-pop", "overlay");
|
||||
});
|
||||
|
||||
document.getElementById('refresh').addEventListener('click', fetchSong);
|
||||
document.getElementById('refresh').addEventListener('click', fetchSong);
|
Loading…
Add table
Add a link
Reference in a new issue