From: Mike Frysinger Date: Sat, 19 Aug 2017 18:49:58 +0000 (-0400) Subject: add mpv settings X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=9889577453147dc5eda3973d678c2650b12cde23;p=home.git add mpv settings --- diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf new file mode 100644 index 0000000..a3798b1 --- /dev/null +++ b/.config/mpv/mpv.conf @@ -0,0 +1,10 @@ +# Run `man mpv`. Command line options go here. + +# Start in fullscreen mode by default. +fullscreen = yes + +# Don't exit when the end of playlist is reached. +keep-open = yes + +# Default volume level. +volume=80 diff --git a/.profile.d/aliases.sh b/.profile.d/aliases.sh index 5de5ef9..accde15 100644 --- a/.profile.d/aliases.sh +++ b/.profile.d/aliases.sh @@ -28,6 +28,7 @@ alias rrsync='rsync -Hav --inplace --progress' alias s='aspell -a' sss() { aspell -a <<<"$*"; } smplayer() { sudo -u smriti sh -c 'export DISPLAY=:0; xset s reset; exec mplayer "$@" >/dev/null 2>&1' sh "$@" ; } +smpv() { sudo -u smriti sh -c 'export DISPLAY=:0; xset s reset; exec mpv "$@"' sh "$@" ; } svlc() { sudo -u smriti sh -c 'export DISPLAY=:0; xset s reset; exec vlc "$@" >/dev/null 2>&1' sh "$@" ; } svnc() { sudo -u smriti sh -c 'export DISPLAY=:0; xset s reset; exec x11vnc -q -nopw' ; } alias trc=transmission-remote-cli