docs: def get_locations():
      '''
      Compiles default locations
  
      :returns:
          A dictionary with folders as values:
  
      * 'home_dir': Your home-directory (:file:`~`)
  
      * 'call_dir': Where you called the first Python script from. (``argv[0]``)
  
      * 'conf_dir': The :envvar:`XDG_CONFIG_HOME`-directory + \
      ``photon`` (:file:`~/.config/photon`)
  
      * 'data_dir': The :envvar:`XDG_DATA_HOME`-directory + \
      ``photon`` (:file:`~/.local/share/photon`)
  
      .. note::
  
          * Both :func:`search_location` and :func:`make_locations` \
          have the argument `locations`.
  
          * |param_locations_none|
      '''
  
      home_dir = _path.expanduser('~')
      conf_dir = _path.join(
          _environ.get(
              'XDG_CONFIG_HOME',
              _path.join(home_dir, '.config')
          ),
          IDENT
      )
      data_dir = _path.join(
          _environ.get(
              'XDG_DATA_HOME',
              _path.join(home_dir, '.local', 'share')
          ),
          IDENT
      )
  
      return {
          'home_dir': home_dir,
          'call_dir': _path.dirname(_path.abspath(_argv[0])),
          'conf_dir': conf_dir,
          'data_dir': data_dir
      }