Merge branch 'master' into master
This commit is contained in:
commit
43e1ee5dec
8
index.js
8
index.js
|
@ -1,14 +1,14 @@
|
|||
command: `./github-activity.widget/run.sh`,
|
||||
command: `./GithubActivity/run.sh`,
|
||||
refreshFrequency: 3600000,
|
||||
style: "\
|
||||
#github-activity {\
|
||||
position: absolute;\
|
||||
left: 50%;\
|
||||
top: 50%;\
|
||||
transform: translateX(-50%) translateY(-50%);\
|
||||
bottom: 20px;\
|
||||
transform: translateX(-50%);\
|
||||
}",
|
||||
render: () => {
|
||||
return "<style>#github-activity-widget-index-js { width: 100%; height: 100%; }</style>";
|
||||
return "<style>#GithubActivity-index-js { width: 100%; height: 100%; }</style>";
|
||||
},
|
||||
update: (output, domEl) => {
|
||||
domEl.innerHTML += output;
|
||||
|
|
4
run.sh
4
run.sh
|
@ -2,8 +2,8 @@
|
|||
|
||||
if [ -f /usr/local/bin/node ]; then
|
||||
# If node is installed via Homebrew, use it
|
||||
/usr/local/bin/node ./github-activity.widget/src/generate.js
|
||||
/usr/local/bin/node ./GithubActivity/src/generate.js
|
||||
else
|
||||
# Fallback to normal
|
||||
node ./github-activity.widget/src/generate.js
|
||||
node ./GithubActivity/src/generate.js
|
||||
fi
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
// For documentation on these options, see the README at https://github.com/shadowfacts/uebersicht-github-activity/
|
||||
const options = {
|
||||
user: "shadowfacts",
|
||||
size: 44,
|
||||
incrAmount: 6,
|
||||
user: "serkakres",
|
||||
size: 26,
|
||||
incrAmount: 4,
|
||||
margin: 2,
|
||||
vary: ["size", "color"],
|
||||
shape: "circle",
|
||||
theme: "red",
|
||||
theme: "blue",
|
||||
colors: {
|
||||
overrides: {
|
||||
none: [null, null],
|
||||
|
|
Loading…
Reference in New Issue