diff options
Diffstat (limited to 'DOCS/man/en/osc.rst')
-rw-r--r-- | DOCS/man/en/osc.rst | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/DOCS/man/en/osc.rst b/DOCS/man/en/osc.rst index 45a97ea9cf..dab98bd2fc 100644 --- a/DOCS/man/en/osc.rst +++ b/DOCS/man/en/osc.rst @@ -122,6 +122,12 @@ time remaining left-click toggle between total and remaining time ============= ================================================ +hide + | Hide the OSC permanently until mpv is restarted. + + ============= ================================================ + del hide the OSC + ============= ================================================ Configuration ------------- @@ -200,3 +206,24 @@ Configurable parameters | Minimum amount of pixels the mouse has to move between ticks to make the OSC show up +Script commands +~~~~~~~~~~~~~~~ + +The OSC script listens to certain script commands. These commands can bound +in ``input.conf``, or sent by other scripts. + +``enable-osc`` + Undoes ``disable-osc`` or the effect of the ``del`` key. + +``disable-osc`` + Hide the OSC permanently. This is also what the ``del`` key does. + + +.. admonition:: Example + + You could out this into ``input.conf`` to hide the OSC with the ``a`` key + and to unhide it with ``b``: + + | a script_message disable-osc + | b script_message enable-osc + |