Skip to main content

max / alloy

2.5 KB · 60 lines History Blame Raw
1 @{! variants = default, night }
2 # Alloy mpv configuration
3 #
4 # Keyboard-driven, no OSC/OSD chrome by default, hardware decode when safe,
5 # sensible screenshot output. mpv itself does the theming when it needs to
6 # (rarely visible) — Alloy palette applied to OSD when it does show up.
7
8 # -------------------------------------------------------------------
9 # Decode / render
10 # -------------------------------------------------------------------
11 hwdec=auto-safe
12 profile=high-quality
13 vo=gpu-next
14
15 # -------------------------------------------------------------------
16 # Window and chrome
17 # -------------------------------------------------------------------
18 osc=no # no on-screen controller
19 osd-bar=no # no on-screen bar on volume/seek
20 no-border # Sway owns window decoration
21 keep-open=yes # do not quit at end of file — user closes
22 save-position-on-quit=yes
23
24 # -------------------------------------------------------------------
25 # Audio
26 # -------------------------------------------------------------------
27 volume=100
28 volume-max=150
29
30 # -------------------------------------------------------------------
31 # Screenshots
32 # -------------------------------------------------------------------
33 screenshot-format=png
34 screenshot-png-compression=8
35 screenshot-directory=~/Pictures/Screenshots
36 screenshot-template=mpv-%F-%wH.%wM.%wS
37
38 # -------------------------------------------------------------------
39 # yt-dlp defaults: cap at 1080p to avoid 4K by accident
40 # -------------------------------------------------------------------
41 #
42 # Kept, and checked against the inherited-friction audit of 2026-08-20
43 # (GoingsOn alloy `cf5db0e9`). The audit removes a default that keeps a novice
44 # away from a working capability. This one is not about capability, it is about
45 # a cost the user does not see until it has been paid: a stream picked at 2160p
46 # spends the bandwidth and the battery before anyone notices which rung was
47 # chosen. Nothing is hidden. `--ytdl-format=` on the command line, or one line
48 # in this file, gets 4K back, and both are discoverable from here.
49 ytdl-format=bv*[height<=?1080]+ba/b
50
51 # -------------------------------------------------------------------
52 # OSD colors — Alloy palette (docs/TOKENS.md)
53 # -------------------------------------------------------------------
54 osd-font='Quasi Mono'
55 osd-font-size=24
56 osd-color='@{content.primary}' # text-primary
57 osd-border-color='@{surface.page}' # surface (for contrast on video)
58 osd-border-size=2
59 osd-shadow-offset=0
60