From 1d90dc5d971420778b3eb6999f0a3c8873653b9a Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 14 Apr 2019 20:59:02 +0300 Subject: [PATCH] bin/mplay: Adapt from mplayer to mpv --- bin/mplay | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/mplay b/bin/mplay index 613aeff..6985866 100755 --- a/bin/mplay +++ b/bin/mplay @@ -1,15 +1,15 @@ #! /bin/sh -options="-ao pulse -quiet" +options="--ao pulse --quiet" if [ "$DISPLAY" ]; then (xscreensaver-command -exit xset -dpms s off) & fi -cgmem_nice 500 mpv $options "$@" +cgmem_nice 1000 mpv $options "$@" -if [ "$DISPLAY" ]; then +if [ -n "$DISPLAY" ]; then cd "$HOME" xset +dpms s on xscreensaver & -- 2.39.2