Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Makhov committed Apr 6, 2021
1 parent f47a9a0 commit 0f1015a
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 2 deletions.
26 changes: 25 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
# GitHub Contributions

TBD
A menubar app, which shows github contributions chart for the last 7 days, similar to the one on the github's user page:

![screenshot1](./screenshots/screenshot1.png)

When clicked it shows some information about the user:

![screenshot2](./screenshots/screenshot2.png)

## Themes

The app can be customized and use one of the following themes

| theme name | screenshot |
|---|---|
| classic | ![classic](./screenshots/classic.png) |
| dracula | ![classic](./screenshots/dracula.png) |
| leftpad | ![classic](./screenshots/leftpad.png) |
| pink | ![classic](./screenshots/pink.png) |
| teal | ![classic](./screenshots/teal.png) |



# Installation

TDB
2 changes: 1 addition & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function obj:start()
self.color_levels[#self.color_levels + 1] = i
end

for i = #self.color_levels - 5 - 6, #self.color_levels - 5 do
for i = #self.color_levels - 5 - 10, #self.color_levels - 5 -4 do
contributions_text = contributions_text
.. hs.styledtext.new('', { color = { hex = obj.color_mapping[self.theme][ self.color_levels[i] + 0 ] } } )
end
Expand Down
Binary file added screenshots/classic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/dracula.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/leftpad.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/pink.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/screenshot1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/screenshot2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/teal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0f1015a

Please sign in to comment.