Rewrite set-volume

Use percent instead of doing weird calculations to get the percent and
such.