This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# This file's home is at https://gist.github.com/keithrbennett/fcf8d1511a430dd2cbc3bafdfe81ba59. | |
# With a numeric argument from 0 to 100, | |
# sets volume to that %, and outputs new volume settings. | |
# | |
# Without any argument, outputs volume settings. | |
# Author: Keith Bennett (keithrbennett on Github) |