2018-12-25 15:16:13 +00:00
|
|
|
command: `./GithubActivity/run.sh`,
|
2017-02-11 00:23:33 +00:00
|
|
|
refreshFrequency: 3600000,
|
|
|
|
style: "\
|
|
|
|
#github-activity {\
|
|
|
|
position: absolute;\
|
|
|
|
left: 50%;\
|
2018-12-25 15:16:13 +00:00
|
|
|
bottom: 20px;\
|
|
|
|
transform: translateX(-50%);\
|
2017-02-11 00:23:33 +00:00
|
|
|
}",
|
|
|
|
render: () => {
|
2018-12-25 15:16:13 +00:00
|
|
|
return "<style>#GithubActivity-index-js { width: 100%; height: 100%; }</style>";
|
2017-02-11 00:23:33 +00:00
|
|
|
},
|
|
|
|
update: (output, domEl) => {
|
|
|
|
domEl.innerHTML += output;
|
|
|
|
}
|