mpvd

Simple daemonization script for mpv with controller
git clone git://git.noxz.tech/mpvd
Log | Files | Refs | LICENSE

commit ff6ee386fb5bb51060a682982696de69c910b8ed
parent f8239e95ebdd103cc44092c6ee5af58a4be6db90
Author: Chris Noxz <chris@noxz.tech>
Date:   Sat,  4 May 2019 10:18:39 +0200

Add support for new ztatus(c)

Diffstat:
Mmpvc | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/mpvc b/mpvc @@ -1,6 +1,6 @@ #!/bin/sh -mpvfifo="/tmp/mpvfifo" +mpvfifo="/tmp/mpv.fifo" print_help() { echo "Usage: mpvc ACTION [ARGS]\n" @@ -101,9 +101,9 @@ case "$1" in amute) amixer set Master toggle ;; araise) - amixer -q sset Master 5%+; killall -s 35 ztatus ;; + amixer -q sset Master 5%+; ztatusc update volume ;; alower) - amixer -q sset Master 5%-; killall -s 35 ztatus ;; + amixer -q sset Master 5%-; ztatusc update volume ;; # default behaviour help)