code: func StrToAtoms(xu *xgbutil.XUtil, atomNames []string) ([]uint, error) {
  	var err error
  	atoms := make([]uint, len(atomNames))
  	for i, atomName := range atomNames {
  		a, err := Atom(xu, atomName, false)
  		if err != nil {
  			return nil, err
  		}
  		atoms[i] = uint(a)
  	}
  	return atoms, err
  }
docs: // StrToAtoms is a convenience function for converting
  // []string to []uint32 atoms.
  // NOTE: If an atom name in the list doesn't exist, it will be created.