Skip to content

Compact version of modern-x osc for mpv with a neat web-player type UI

Notifications You must be signed in to change notification settings

1-minute-to-midnight/mpv-modern-x-compact

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mpv-modern-x-compact

Compact version of modern-x osc for mpv with a neat web-player type UI

preview

How to install

Put the .lua file into "~~/scripts/" folder, and remove other osc scripts.

Set the following setting in mpv.conf :

osc=no

⚠️ Important: Install dexeonify's custom-made ModernX OSC font for the OSC icons or create a folder named fonts in the mpv config folder and drop the ttf file in there.

Configuration

You can change various options like accent color by editing osc.conf which should be put in the "~~/script-opts/" folder. The usage/creation of this file is optional if you want to use the config as is.

# Accent of the OSC and the title bar
osc_color=000000

# Color of the seekbar progress and handle
seekbarfg_color=E39C42

# Color of the remaining seekbar
seekbarbg_color=FFFFFF

If you want to change the height of the seekbar or want to change the positions of various elements: By line 1675 you will see various titles indicating each element (Seekbar, Title, Playback control buttons etc.). To move the elements horizontally (along x-axis), add or subtract values to refX or x values. Similar process can be done for y values to move it vertically (along y-axis).

Thumbnail Support

Go to thumbfast and drop thumbfast.lua into scripts folder

Fonts

(Change osd-font in "~~mpv.conf" to get like it is in the screenshot)

Credits