X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=home%2Fbin%2Fmpplay;h=1c254af89ae52dde17f63949009d34eb470be645;hb=7cdde8d9423977baf5236ecc5497f72dbbea8890;hp=c2e2cec87ed8ca278ebdfbf8bc7c678920f7dfbe;hpb=35b969ccdee787a6c41875a1170a5aaecf8a75b4;p=khome.git diff --git a/home/bin/mpplay b/home/bin/mpplay index c2e2cec..1c254af 100755 --- a/home/bin/mpplay +++ b/home/bin/mpplay @@ -1,8 +1,10 @@ -#! /bin/sh +#! /bin/bash set -e +set -o pipefail LINES=60 mpc listall | khomenu -l "$LINES" | mpc insert mpc play +st -e ncmpc