Added DummyDisplay for arbitrary screen size when headless

This commit is contained in:
Sniffleupagus
2024-02-07 15:16:26 -08:00
parent 16d80a09e6
commit 418dbf21e3
4 changed files with 52 additions and 0 deletions

View File

@ -240,6 +240,8 @@ def load_config(args):
# the very first step is to normalize the display name, so we don't need dozens of if/elif around
if config['ui']['display']['type'] in ('inky', 'inkyphat'):
config['ui']['display']['type'] = 'inky'
elif config['ui']['display']['type'] in ('dummy', 'dummydisplay'):
config['ui']['display']['type'] = 'dummydisplay'
elif config['ui']['display']['type'] in ('papirus', 'papi'):
config['ui']['display']['type'] = 'papirus'