manpage: osc: document some recent additions

This commit is contained in:
wm4 2014-03-20 22:49:31 +01:00
parent edf0dda2e4
commit f705bbb2d5
1 changed files with 27 additions and 0 deletions

View File

@ -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