diff options
author | A Farzat <a@farzat.xyz> | 2024-10-13 11:36:44 +0900 |
---|---|---|
committer | A Farzat <a@farzat.xyz> | 2024-10-20 11:36:44 +0900 |
commit | 002727a501aaa74d2eb60cc0475d746a668a9cd0 (patch) | |
tree | 5b54e49f6eb5a759c60c37a527cedca430545d32 /.config/mpv | |
parent | 0fffaf4f5845398967356f2c78391ad9625a8210 (diff) | |
download | dotfiles-002727a501aaa74d2eb60cc0475d746a668a9cd0.tar.gz dotfiles-002727a501aaa74d2eb60cc0475d746a668a9cd0.zip |
Add mpv config
Diffstat (limited to '.config/mpv')
-rw-r--r-- | .config/mpv/input.conf | 6 | ||||
-rw-r--r-- | .config/mpv/mpv.conf | 23 |
2 files changed, 29 insertions, 0 deletions
diff --git a/.config/mpv/input.conf b/.config/mpv/input.conf new file mode 100644 index 0000000..f0cc7dd --- /dev/null +++ b/.config/mpv/input.conf @@ -0,0 +1,6 @@ +alt+l cycle-values loop-playlist "inf" "no" + +ctrl+f script-binding quality_menu/video_formats_toggle +alt+f script-binding quality_menu/audio_formats_toggle + +alt+w cycle-values force-window "yes" "no" diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf new file mode 100644 index 0000000..49db921 --- /dev/null +++ b/.config/mpv/mpv.conf @@ -0,0 +1,23 @@ +volume-max=200 +replaygain=track +# Print path when playing a media +term-playing-msg='PATH:= ${path}' +# Turn off gapless so that replaygain applies to individual files. +gapless-audio=no + +screenshot-format=png + +slang=en + +ytdl-format=bestvideo*[height<=1080]+bestaudio/best[height<=1080]/best + +[one_album] +profile-desc="Play an album using its replaygain and with gapless-audio" +profile-restore=copy-equal +replaygain=album +gapless-audio=weak + +[auto_fullscreen] +profile-desc="Auto set fullscreen if large enough" +profile-cond="height >= 1080 or width >= 1920" +fullscreen=yes |