def list_themes_user():
    """List user theme files."""
    themes = [*os.scandir(os.path.join(CONF_DIR, "colorschemes/dark/")),
              *os.scandir(os.path.join(CONF_DIR, "colorschemes/light/"))]
    return [t for t in themes if os.path.isfile(t.path)]
def list_themes_user ( ) : themes = [ * os . scandir ( os . path . join ( CONF_DIR , "colorschemes/dark/" ) ) , * os . scandir ( os . path . join ( CONF_DIR , "colorschemes/light/" ) ) ] return [ t for t in themes if os . path . isfile ( t . path ) ]
List user theme files.