Rearrange
This commit is contained in:
parent
27da48007e
commit
e1d528d114
@ -74,9 +74,9 @@ def get_goodreads_stats():
|
||||
|
||||
def get_stats(pages, books):
|
||||
size = 3
|
||||
|
||||
col_w, col_h = 40, 32
|
||||
x_start, y_start = 53, 10
|
||||
|
||||
col_w, col_h = 50, 32
|
||||
x_start, y_start = 60, 14
|
||||
row_offsets = [0,5,0]
|
||||
|
||||
rows = ["year", "books", "pages"]
|
||||
@ -104,6 +104,8 @@ def draw(stats):
|
||||
inkyphat.set_colour(colour)
|
||||
inkyphat.set_border(inkyphat.WHITE)
|
||||
inkyphat.set_image("./background.png")
|
||||
|
||||
inkyphat.show()
|
||||
|
||||
draw_row('year', stats, 12)
|
||||
draw_row('books', stats, 18)
|
||||
|
Loading…
Reference in New Issue
Block a user