X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=bin%2Fmplay;h=698586646d4b278079b0730d8142bb4313dc6e85;hb=1d90dc5d971420778b3eb6999f0a3c8873653b9a;hp=4fcdc7d9dfa16774ba5c1d9b809430e07c83c82e;hpb=f8ec23cf3051b04d4d107e923ce2110848f0dbf3;p=dotfiles.git diff --git a/bin/mplay b/bin/mplay index 4fcdc7d..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 "`basename $0`"er2 $options "$@" +cgmem_nice 1000 mpv $options "$@" -if [ "$DISPLAY" ]; then +if [ -n "$DISPLAY" ]; then cd "$HOME" xset +dpms s on xscreensaver &