Commit Graph

9 Commits

Author SHA1 Message Date
Ace
dbdfb216c0 Added common settings for each module's config
It's now possible to get language, units and hours though each module's config.
2020-06-19 19:39:02 +02:00
Ace
2693eb64b9 Adding support for 9.7"" ePaper display 2020-06-18 16:21:53 +02:00
Ace
f8834c4c21 Improved layout setup
It is now possible to use one, two or three modules and use the height defined by the settings file
2020-06-13 16:14:49 +02:00
Ace
03a184775c Fix for issue #122 2020-06-07 15:57:38 +02:00
Robert Sirre
065c04243d Implemented jsonc parsing
Note: jsmin installation need to be done manually via `pip3 install jsmin`
2020-06-04 23:57:31 +02:00
Ace
39e8da6388 Add support for display orientation 2020-05-30 00:47:32 +02:00
Ace
5ae6db5045 Added height fallback function
If no height is defined for any module, use default values.
If all heights are given, use those values.
If only some heights were given ,raise error

Also included update_interval
2020-05-26 19:18:20 +02:00
Ace
c3fbd79eda Implementation of interface (template) for all modules
- Correct setup of logging
- all inkycal-modules inherit from the given template
- Added basic, optional validation
- more code cleanups
- fixed a few minor bugs
2020-05-23 01:45:40 +02:00
Ace
f631733bf5 minor improvements to settings parser
Code cleanup, better validation logic, better naming of functions
2020-05-21 19:52:39 +02:00