code: def get_colors():
      
      if exists( THEMEDIR ):
          contents = os.listdir( THEMEDIR )
          themes = [theme for theme in contents if '.' not in theme]
          if len(themes) > 0:
              themes.sort()
              return themes
          else:
              print "** No themes in themedir **"
              print "    run:"
              print "        dotcolors (-s | --sync) <limit>"
              sys.exit(0)
      else:
          print "** Theme directory not found **"
          print "    run: "
          print "        dotcolors --setup"
  
          sys.exit(0)
docs: return list of  available Xresources color themes