Dotfiles: Add mpv config

This commit is contained in:
Jannik Beyerstedt 2022-08-06 13:22:37 +02:00
parent 759fcd48d0
commit a5c854fcc6
2 changed files with 29 additions and 0 deletions

25
files/_config/mpv.conf Normal file
View file

@ -0,0 +1,25 @@
## Show time AND frame number in terminal
term-status-msg='${playback-time/full} (${estimated-frame-number}) / ${duration} (${estimated-frame-count}) (${percent-pos}%)\n${?frame-drop-count:${!frame-drop-count==0:dropped frames: ${frame-drop-count}\n}}${?chapter:chapter: ${chapter}\n}av sync (Ctrl +/-): ${avsync} - speed: ${speed}\ncache: ${demuxer-cache-duration}s'
## Modify cursor visibility
cursor-autohide-fs-only
cursor-autohide=500
## Show on screen controller, but no additional seek bar
osc
no-osd-bar
## Enable terminal colors
msg-color
## special profiles
[downmix]
af=lavfi="pan=stereo|FL < 0.5*FC + 0.3*FLC + 0.3*FL + 0.3*BL + 0.3*SL + 0.5*LFE | FR < 0.5*FC + 0.3*FRC + 0.3*FR + 0.3*BR + 0.3*SR + 0.5*LFE",lavfi="acompressor=10"
[mono]
af=lavfi=[pan=1c|c0=0.5*c0+0.5*c1]
[extension.gif]
cache=no
no-pause
loop-file=yes

View file

@ -73,6 +73,10 @@
src: "{{ role_path }}/files/_vimrc", src: "{{ role_path }}/files/_vimrc",
dest: "{{ ansible_user_dir }}/.vimrc", dest: "{{ ansible_user_dir }}/.vimrc",
} }
- {
src: "{{ role_path }}/files/_config/mpv.conf",
dest: "{{ ansible_user_dir }}/.config/mpv/",
}
- { - {
src: "{{ role_path }}/files/_oh-my-zsh/jtbx.zsh-theme", src: "{{ role_path }}/files/_oh-my-zsh/jtbx.zsh-theme",
dest: "{{ ansible_user_dir }}/.oh-my-zsh/custom/themes/jtbx.zsh-theme", dest: "{{ ansible_user_dir }}/.oh-my-zsh/custom/themes/jtbx.zsh-theme",