- exists = db.theme_query()
- themes = [t.theme_name for t in exists]
- if themes[0] == 'custom':
- line += light_magenta(' (applied)')
+ custom_path = os.environ.get(
+ 'HOME',
+ os.environ.get('USERPROFILE',
+ '')) + os.sep + '.rainbow_config.json'
+ if not os.path.exists(custom_path):
+ line += light_magenta(' (create your own config file at ~/.rainbow_config.json)')