code: def xdg_config_dirs():
      
      paths = []
      if 'XDG_CONFIG_HOME' in os.environ:
          paths.append(os.environ['XDG_CONFIG_HOME'])
      if 'XDG_CONFIG_DIRS' in os.environ:
          paths.extend(os.environ['XDG_CONFIG_DIRS'].split(':'))
      else:
          paths.append('/etc/xdg')
      paths.append('/etc')
      return paths
docs: Returns a list of paths taken from the XDG_CONFIG_DIRS
      and XDG_CONFIG_HOME environment varibables if they exist