Merge pull request #1488 from boxofrox/fix/porting-guide-code-blocks

Fix/porting guide code blocks
This commit is contained in:
Emmanuel Lepage Vallée 2017-01-31 10:52:06 -05:00 committed by GitHub
commit 22057dcbde
1 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,7 @@ work. Remove this section.
The `quit` menu command must be wrapped in a function, otherwise an error
occurs due to mismatched argument types from the v4.0 `awful.menu` library.
-- {{{ Menu
 -- {{{ Menu
-- Create a laucher widget and a main menu
myawesomemenu = {
{ "manual", terminal .. " -e man awesome" },
@ -109,7 +109,7 @@ occurs due to mismatched argument types from the v4.0 `awful.menu` library.
The textclock is now part of the `wibox` library, rename it.
-- {{{ Wibar
 -- {{{ Wibar
-- Create a textclock widget
-mytextclock = `awful.widget.textclock`()
+mytextclock = `wibox.widget.textclock`()