code: def get_output_volume():
      '''
      Get the output volume (range 0 to 100)
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' desktop.get_output_volume
      '''
      cmd = 'osascript -e "get output volume of (get volume settings)"'
      call = __salt__['cmd.run_all'](
          cmd,
          output_loglevel='debug',
          python_shell=False
      )
      _check_cmd(call)
  
      return call.get('stdout'f get_output_volume():
      '''
      Get the output volume (range 0 to 100)
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' desktop.get_output_volume
      '''
      cmd = 'osascript -e "get output volume of (get volume settings)"'
      call = __salt__['cmd.run_all'](
          cmd,
          output_loglevel='debug',
          python_shell=False
      )
      _check_cmd(call)
  
      return call.get('stdout')
docs: Get the output volume (range 0 to 100)
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' desktop.get_output_volume