Dotfiles for different machines on different branches.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
570 B

  1. #!/bin/sh
  2. # A general audio interface for LARBS.
  3. # by lukesmithxyz, checkout github.com/lukesmithxyz/voidrice
  4. [ -z "$2" ] && num="2" || num="$2"
  5. case "$1" in
  6. u*) pulsemixer --change-volume +"$num" ;;
  7. d*) pulsemixer --change-volume -"$num" ;;
  8. m*) pulsemixer --toggle-mute ;;
  9. *) cat << EOF
  10. lmc: cli music interface for pulse for those with divine intellect too
  11. grand to remember the pamixer commands.
  12. Allowed options:
  13. up NUM Increase volume (2 secs default)
  14. down NUM Decrease volume (2 secs default)
  15. mute Toggle mute
  16. all else Print this message
  17. EOF
  18. esac