]> git.wh0rd.org - home.git/commitdiff
add mpv settings
authorMike Frysinger <vapier@gentoo.org>
Sat, 19 Aug 2017 18:49:58 +0000 (14:49 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sat, 19 Aug 2017 18:49:58 +0000 (14:49 -0400)
.config/mpv/mpv.conf [new file with mode: 0644]
.profile.d/aliases.sh

diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf
new file mode 100644 (file)
index 0000000..a3798b1
--- /dev/null
@@ -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
index 5de5ef9f107fec97a589486325852de95a957af5..accde15f50b631b398679de2c03bebf42c42b5ee 100644 (file)
@@ -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