docs: fix some typos/leftovers (#1989)

Signed-off-by: Nick Yamane <nick.diego@gmail.com>
This commit is contained in:
Nick Diego Yamane 2017-08-14 10:06:44 -04:00 committed by Daniel Hahler
parent eb7ee7072c
commit bfe58d65f1
3 changed files with 9 additions and 6 deletions

View File

@ -92,9 +92,9 @@ Example key binding for your `globalkeys`:
If you want to execute a shell command or need to execute a command that uses If you want to execute a shell command or need to execute a command that uses
redirection, pipes and so on, do not use the `awful.spawn` function but redirection, pipes and so on, do not use the `awful.spawn` function but
`awful.util.spawn_with_shell`. Here is an example: `awful.spawn.with_shell`. Here is an example:
awful.key({ modkey }, "F10", function () awful.util.spawn_with_shell("cal -m | xmessage -timeout 10 -file -") end) awful.key({ modkey }, "F10", function () awful.spawn.with_shell("cal -m | xmessage -timeout 10 -file -") end)
On zsh, any changes to $PATH you do in `~/.zshrc` will not be picked up (because On zsh, any changes to $PATH you do in `~/.zshrc` will not be picked up (because
this is only run for interactive shells). Use `~/.zshenv` instead to make this is only run for interactive shells). Use `~/.zshenv` instead to make

View File

@ -1,11 +1,11 @@
--- Get a widex index. --- Get a widget index.
-- @param widget The widget to look for -- @param widget The widget to look for
-- @param[opt] recursive Also check sub-widgets -- @param[opt] recursive Also check sub-widgets
-- @param[opt] ... Aditional widgets to add at the end of the "path" -- @param[opt] ... Aditional widgets to add at the end of the path
-- @return The index -- @return The index
-- @return The parent layout -- @return The parent layout
-- @return The path between "self" and "widget" -- @return The path between self and widget
-- @function index -- @function index
--- Get all direct and indirect children widgets. --- Get all direct and indirect children widgets.

View File

@ -247,7 +247,7 @@ end
-- By default, the table has the following functions: -- By default, the table has the following functions:
-- --
-- * geometry -- * geometry
-- * switchtotag -- * placement
-- --
-- @tfield table awful.rules.extra_properties -- @tfield table awful.rules.extra_properties
rules.extra_properties = {} rules.extra_properties = {}
@ -275,6 +275,9 @@ rules.high_priority_properties = {}
--- Delayed properties. --- Delayed properties.
-- Properties applied after all other categories. -- Properties applied after all other categories.
-- @tfield table awful.rules.delayed_properties -- @tfield table awful.rules.delayed_properties
-- By default, the table has the following functions:
--
-- * switchtotag
rules.delayed_properties = {} rules.delayed_properties = {}
local force_ignore = { local force_ignore = {