setvolume [focused/global] [<#.#>]

Changes the volume of windows or of the focussed app.

Parameters:

  1. The target for the volume to be applied to. Valid options are “focused” to target the app currently focused in windows, or “global” to target the systemwide volume.
  2. The volume ranging between 0 and 100. Decimal values are allowed.