Added font-boldness option and moved fonts to extra folder
This commit is contained in:
parent
14ca6e9cdf
commit
9c5a791019
10 changed files with 12 additions and 1 deletions
|
@ -7,6 +7,7 @@ im_open = Image.open
|
|||
path = ''
|
||||
wpath = path+'weather-icons/'
|
||||
opath = path+'other/'
|
||||
fpath = path+'fonts/'
|
||||
|
||||
tempicon = im_open(opath+'temperature.jpeg')
|
||||
humicon = im_open(opath+'humidity.jpeg')
|
||||
|
@ -15,7 +16,16 @@ sunriseicon = im_open(opath+'wi-sunrise.jpeg')
|
|||
sunseticon = im_open(opath+'wi-sunset.jpeg')
|
||||
windicon = im_open(opath+'wi-strong-wind.jpeg')
|
||||
|
||||
defaultfont = "Assistant-SemiBold.otf"
|
||||
fonts = {
|
||||
"extralight" : "Assistant-ExtraLight.otf",
|
||||
"light" : "Assistant-Light.otf",
|
||||
"regular" : "Assistant-Regular.otf",
|
||||
"semibold" : "Assistant-SemiBold.otf",
|
||||
"bold" : "Assistant-Bold.otf",
|
||||
"extrabold" : "Assistant-ExtraBold.otf"
|
||||
}
|
||||
|
||||
defaultfont = fpath + fonts[font_boldness]
|
||||
|
||||
datetime_locals = {
|
||||
"de" : "de_DE.UTF-8",
|
||||
|
|
Binary file not shown.
BIN
Calendar/fonts/Assistant-Bold.otf
Normal file
BIN
Calendar/fonts/Assistant-Bold.otf
Normal file
Binary file not shown.
BIN
Calendar/fonts/Assistant-ExtraBold.otf
Normal file
BIN
Calendar/fonts/Assistant-ExtraBold.otf
Normal file
Binary file not shown.
BIN
Calendar/fonts/Assistant-ExtraLight.otf
Normal file
BIN
Calendar/fonts/Assistant-ExtraLight.otf
Normal file
Binary file not shown.
BIN
Calendar/fonts/Assistant-Light.otf
Normal file
BIN
Calendar/fonts/Assistant-Light.otf
Normal file
Binary file not shown.
BIN
Calendar/fonts/Assistant-Regular.otf
Normal file
BIN
Calendar/fonts/Assistant-Regular.otf
Normal file
Binary file not shown.
|
@ -19,6 +19,7 @@ hours = "24"
|
|||
|
||||
|
||||
"""DESIGN"""
|
||||
font_boldness = "semibold" # extralight, light, regular, semibold, bold, extrabold
|
||||
choosen_design = "month-overview" # month-overview, day-list
|
||||
general_settings = { # General settings that designs may use
|
||||
"info-area" : "rss", # empty, events, rss
|
||||
|
|
Loading…
Reference in a new issue