This is a motherfucking progress bar with support for dragging.
Differences:
--input-builtin-dragging
is disabled while the progress bar is active (i.e. when the mouse is in the proximity range).--cursor-autohide
is disabled while the progress bar is active.MBTN_LEFT_DBL
is ignored while the progress bar is active because I use that as an alternate fullscreen toggle.hover_lock_to_chapter_time
option controls whether hovering over a chapter diamond should lock the preview to displaying the chapter time (middle of the diamond).The original script can be found at https://codeberg.org/NRK/mpv-toolbox/src/branch/master/mfpbar and the original README is copied verbatim below.
This is a MotherFucking Progressbar.
The goal of this project is to be a progress-bar with minimal visual-clutter, features, as well as code-size.
Put mfpbar.lua inside your ~~/scripts
directory, where ~~
is your mpv config dir.
Put osc=no
in your mpv.conf
.
Optionally install thumbfast for preview support.
It is also recommended (but not required) to set osd-bar=no
in your mpv.conf
.
NOTE that mfpbar
requires mpv version 0.33.0
or above.
mfpbar
can be configured by creating a mfpbar.conf
file inside ~~/script-opts
directory. All the available options and their defaults are documented in the example mfpbar.conf file.
Additionally, mfpbar
registers a maximize
key binding which you can bind in your input.conf
. For example, the following binds Space to pause and simultaneously maximize the bar:
Space cycle pause; script-binding mfpbar/maximize
You can also specify a non-default timeout (in seconds) via using script message. The following will maximize the bar for 2.4 seconds when pressing TAB.
TAB script-message-to mfpbar maximize 2.4
After uosc went full bloat in version 4, I decided that I'd write my own which contains only the functionality that I need. Needless to say, this mimics the older uosc
's progress-bar quite a lot in terms of visuals.
The name of this project is a homage to the motherfucking website, which seemed quite appropriate since my goal was to just get a minimal clutter-free progress-bar.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4