mirror of https://gitlab.com/bashrc2/epicyon
Themed welcome screen background
parent
7e9937cbd0
commit
a7e0985ac8
5
theme.py
5
theme.py
|
@ -265,6 +265,8 @@ def _setThemeFromDict(baseDir: str, name: str,
|
|||
_setBackgroundFormat(baseDir, name, 'options', bgParams['options'])
|
||||
if bgParams.get('search'):
|
||||
_setBackgroundFormat(baseDir, name, 'search', bgParams['search'])
|
||||
if bgParams.get('welcome'):
|
||||
_setBackgroundFormat(baseDir, name, 'welcome', bgParams['welcome'])
|
||||
|
||||
|
||||
def _setBackgroundFormat(baseDir: str, name: str,
|
||||
|
@ -508,7 +510,8 @@ def _setThemeImages(baseDir: str, name: str) -> None:
|
|||
_setTextModeTheme(baseDir, themeNameLower)
|
||||
|
||||
backgroundNames = ('login', 'shares', 'delete', 'follow',
|
||||
'options', 'block', 'search', 'calendar')
|
||||
'options', 'block', 'search', 'calendar',
|
||||
'welcome')
|
||||
extensions = getImageExtensions()
|
||||
|
||||
for subdir, dirs, files in os.walk(baseDir + '/accounts'):
|
||||
|
|
Loading…
Reference in New Issue