dotfiles-x1150099c4
mpv config
+66 −3
2 files changed
- A .config/mpv/mpv.conf +66 −0
- M .config/sxhkd/sxhkdrc +0 −3
| @@ -0,0 +1,66 @@ | |||
| 1 | + | # PLAYER | |
| 2 | + | # --- | |
| 3 | + | # Use GPU-accelerated video output by default. | |
| 4 | + | vo=gpu | |
| 5 | + | # Enable best HW decoder, turn off software decoding. | |
| 6 | + | hwdec=auto | |
| 7 | + | # Keep the player open when a file's end is reached. | |
| 8 | + | keep-open=yes | |
| 9 | + | # Color log messages on the terminal. | |
| 10 | + | msg-color=yes | |
| 11 | + | # Prepend module name to log messages. | |
| 12 | + | msg-module=yes | |
| 13 | + | # Display progress bar on the terminal. | |
| 14 | + | term-osd-bar=yes | |
| 15 | + | # Autohide cursor after 1s. | |
| 16 | + | cursor-autohide=1000 | |
| 17 | + | # Use large seekable RAM cache even for local input. | |
| 18 | + | #cache=yes | |
| 19 | + | #cache-secs=300 | |
| 20 | + | # Use extra large RAM cache, needs "cache=yes" to make it useful. | |
| 21 | + | #demuxer-max-bytes=1800M | |
| 22 | + | #demuxer-max-back-bytes=1200M | |
| 23 | + | # Disabling of decoder framedrop during hr-seek. | |
| 24 | + | hr-seek-framedrop=no | |
| 25 | + | ||
| 26 | + | # AUDIO | |
| 27 | + | # --- | |
| 28 | + | volume=100 | |
| 29 | + | volume-max=200 | |
| 30 | + | # Normalize audio. | |
| 31 | + | af-add=dynaudnorm=g=5:f=250:r=0.9:p=0.5 | |
| 32 | + | ||
| 33 | + | # SCREENSHOT | |
| 34 | + | screenshot-format=png | |
| 35 | + | screenshot-directory="~/pix/ss/mpv" # Output directory | |
| 36 | + | screenshot-template="%f-%wH.%wM.%wS.%wT-#%#00n" | |
| 37 | + | ||
| 38 | + | # SUBTITLES | |
| 39 | + | # --- | |
| 40 | + | # Detect all subtitles. | |
| 41 | + | sub-auto=all | |
| 42 | + | # External subs don't have to match file name exactly to autoload. | |
| 43 | + | sub-auto=fuzzy | |
| 44 | + | # Blend subtitles directly onto upscaled video frames. | |
| 45 | + | blend-subtitles=yes | |
| 46 | + | # Try to correctly show embedded subs when seeking. | |
| 47 | + | demuxer-mkv-subtitle-preroll=yes | |
| 48 | + | # Use embedded fonts for SSA/ASS subs. | |
| 49 | + | embeddedfonts=yes | |
| 50 | + | # Backward compatibility for vsfilter fansubs. | |
| 51 | + | sub-ass-vsfilter-blur-compat=yes | |
| 52 | + | # Search for external subs in these relative subdirectories. | |
| 53 | + | sub-file-paths-append=ass | |
| 54 | + | sub-file-paths-append=srt | |
| 55 | + | sub-file-paths-append=sub | |
| 56 | + | sub-file-paths-append=subs | |
| 57 | + | sub-file-paths-append=subtitles | |
| 58 | + | ||
| 59 | + | # FILE-TYPE PROFILES | |
| 60 | + | # --- | |
| 61 | + | [extension.gif] | |
| 62 | + | cache=no | |
| 63 | + | loop-file=yes | |
| 64 | + | no-pause | |
| 65 | + | ||
| 66 | + | ||
| @@ -18,9 +18,6 @@ Print | |||
| 18 | 18 | super + shift + f | |
| 19 | 19 | pcmanfm | |
| 20 | 20 | ||
| 21 | − | # spotify | |
| 22 | − | super + shift + m | |
| 23 | − | spot-adblock | |
| 24 | 21 | # web browser | |
| 25 | 22 | super + shift + b | |
| 26 | 23 | firefox | |