From f705bbb2d5e5566fd9be7f144bd983c27ba5285d Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 20 Mar 2014 22:49:31 +0100 Subject: manpage: osc: document some recent additions --- DOCS/man/en/osc.rst | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) 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 + -- cgit v1.2.3