diff --git a/README.md b/README.md index af3688d..1c597c1 100644 --- a/README.md +++ b/README.md @@ -49,5 +49,5 @@ Installation: ## Other Notes - The shell script (`run.sh`) is used to find the location of Node and run the script. Currently, the script only special cases for Node installed via Homebrew and falls back on running node through the shell's normal behavior. The environment the shells script is executed in does not have `.bash_profile`/`.bashrc`/`.zshrc`/anything else loaded. If you have node installed in an unusual location, open an issue and, if it's common enough, I'll add another special case. -- You'll need to change the `size`, `incrAmount`, and possibly `margin` values in the options to fit your screen size. The defaults are sized for the largest that can fit on a 1440p screen. A rule of thumb for size/margin is `screenWidth / 54 >= size + margin` +- You'll need to change the `size`, `incrAmount`, and possibly `margin` values in the options to fit your screen size. The defaults are sized for the largest that can fit on a 1440p screen. A rule of thumb for size/margin is `screenWidth / 53 >= size + margin` - You may need to modify the values used by the `else if` conditions in the `getColorsForPalette` function, depending on your GitHub contributions. GitHub determines which color "level" to use dynamically, based on your average contributions but this widget does not. \ No newline at end of file diff --git a/github-activity.widget.zip b/github-activity.widget.zip index 647fa79..71d1287 100644 Binary files a/github-activity.widget.zip and b/github-activity.widget.zip differ diff --git a/src/generate.js b/src/generate.js index c1f642d..effe786 100644 --- a/src/generate.js +++ b/src/generate.js @@ -40,7 +40,7 @@ axios.get(`https://github.com/${options.user}`) .catch(console.error); function generate(res) { - console.log(``); + console.log(``); const $ = cheerio.load(res.data);