Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

host-specific args.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
  • Loading branch information...
commit 65c05bb93953440ae93dbb4b3069c5076e5fb4f3 1 parent d5fa839
Chris Lamb authored
Showing with 14 additions and 0 deletions.
  1. +14 −0 zshrc.d/media
14 zshrc.d/media
View
@@ -2,3 +2,17 @@ alias ripcd="ripit --coder 2 --eject --nointeraction"
alias pause="killall -STOP mplayer"
alias resume="killall -CONT mplayer"
+
+mplayer () {
+ local args="-fs"
+
+ case "$(hostname)" in
+ happycat)
+ args="${args} -softvol -softvol-max 500"
+ ;;
+ *)
+ ;;
+ esac
+
+ mplayer ${args} "${@}"
+}
Please sign in to comment.
Something went wrong with that request. Please try again.