Merge pull request #1220 from Elv13/tl_doc_fix

doc: Document tasklist_plain_task_name
This commit is contained in:
Emmanuel Lepage Vallée 2016-11-15 17:05:18 -05:00 committed by GitHub
commit 9b335b5bf1
1 changed files with 31 additions and 1 deletions

View File

@ -1,6 +1,29 @@
--------------------------------------------------------------------------- ---------------------------------------------------------------------------
--- Tasklist widget module for awful. --- Tasklist widget module for awful.
-- --
-- <a name="status_icons"></a>
-- **Status icons:**
--
-- By default, the tasklist prepends some symbols in front of the client name.
-- This is used to notify that the client has some specific properties that are
-- currently enabled. This can be disabled using
-- `beautiful.tasklist_plain_task_name`=true in the theme.
--
-- <table class='widget_list' border=1>
-- <tr style='font-weight: bold;'>
-- <th align='center'>Icon</th>
-- <th align='center'>Client property</th>
-- </tr>
-- <tr><td>▪</td><td><a href="./client.html#client.sticky">sticky</a></td></tr>
-- <tr><td>⌃</td><td><a href="./client.html#client.ontop">ontop</a></td></tr>
-- <tr><td>▴</td><td><a href="./client.html#client.above">above</a></td></tr>
-- <tr><td>▾</td><td><a href="./client.html#client.below">below</a></td></tr>
-- <tr><td>✈</td><td><a href="./client.html#client.floating">floating</a></td></tr>
-- <tr><td>+</td><td><a href="./client.html#client.maximized">maximized</a></td></tr>
-- <tr><td>⬌</td><td><a href="./client.html#client.maximized_horizontal">maximized_horizontal</a></td></tr>
-- <tr><td>⬍</td><td><a href="./client.html#client.maximized_vertical">maximized_vertical</a></td></tr>
-- </table>
--
-- @author Julien Danjou &lt;julien@danjou.info&gt; -- @author Julien Danjou &lt;julien@danjou.info&gt;
-- @copyright 2008-2009 Julien Danjou -- @copyright 2008-2009 Julien Danjou
-- @classmod awful.widget.tasklist -- @classmod awful.widget.tasklist
@ -83,10 +106,17 @@ local instances
-- @beautiful beautiful.tasklist_bg_image_minimize -- @beautiful beautiful.tasklist_bg_image_minimize
-- @tparam[opt=nil] string bg_image_minimize -- @tparam[opt=nil] string bg_image_minimize
-- Disable the tasklist clients icons. --- Disable the tasklist client icons.
-- @beautiful beautiful.tasklist_tasklist_disable_icon -- @beautiful beautiful.tasklist_tasklist_disable_icon
-- @tparam[opt=false] boolean tasklist_disable_icon -- @tparam[opt=false] boolean tasklist_disable_icon
--- Disable the extra tasklist client property notification icons.
--
-- See the <a href="status_icons">Status icons</a> section for more details.
--
-- @beautiful beautiful.tasklist_plain_task_name
-- @tparam[opt=false] boolean tasklist_plain_task_name
--- The tasklist font. --- The tasklist font.
-- @beautiful beautiful.tasklist_font -- @beautiful beautiful.tasklist_font
-- @tparam[opt=nil] string font -- @tparam[opt=nil] string font