| 1 |
# Alloy mpv configuration |
| 2 |
# |
| 3 |
# Keyboard-driven, no OSC/OSD chrome by default, hardware decode when safe, |
| 4 |
# sensible screenshot output. mpv itself does the theming when it needs to |
| 5 |
# (rarely visible) — Alloy palette applied to OSD when it does show up. |
| 6 |
|
| 7 |
# ------------------------------------------------------------------- |
| 8 |
# Decode / render |
| 9 |
# ------------------------------------------------------------------- |
| 10 |
hwdec=auto-safe |
| 11 |
profile=high-quality |
| 12 |
vo=gpu-next |
| 13 |
|
| 14 |
# ------------------------------------------------------------------- |
| 15 |
# Window and chrome |
| 16 |
# ------------------------------------------------------------------- |
| 17 |
osc=no # no on-screen controller |
| 18 |
osd-bar=no # no on-screen bar on volume/seek |
| 19 |
no-border # Sway owns window decoration |
| 20 |
keep-open=yes # do not quit at end of file — user closes |
| 21 |
save-position-on-quit=yes |
| 22 |
|
| 23 |
# ------------------------------------------------------------------- |
| 24 |
# Audio |
| 25 |
# ------------------------------------------------------------------- |
| 26 |
volume=100 |
| 27 |
volume-max=150 |
| 28 |
|
| 29 |
# ------------------------------------------------------------------- |
| 30 |
# Screenshots |
| 31 |
# ------------------------------------------------------------------- |
| 32 |
screenshot-format=png |
| 33 |
screenshot-png-compression=8 |
| 34 |
screenshot-directory=~/Pictures/Screenshots |
| 35 |
screenshot-template=mpv-%F-%wH.%wM.%wS |
| 36 |
|
| 37 |
# ------------------------------------------------------------------- |
| 38 |
# yt-dlp defaults — cap at 1080p to avoid 4K by accident |
| 39 |
# ------------------------------------------------------------------- |
| 40 |
ytdl-format=bv*[height<=?1080]+ba/b |
| 41 |
|
| 42 |
# ------------------------------------------------------------------- |
| 43 |
# OSD colors — Alloy light-mode palette (docs/TOKENS.md) |
| 44 |
# ------------------------------------------------------------------- |
| 45 |
osd-font='IosevkaTerm Nerd Font' |
| 46 |
osd-font-size=24 |
| 47 |
osd-color='#1a1816' # text-primary |
| 48 |
osd-border-color='#e4ded6' # surface (for contrast on video) |
| 49 |
osd-border-size=2 |
| 50 |
osd-shadow-offset=0 |
| 51 |
|