]> git.madduck.net Git - etc/awesome.git/blobdiff - borderbox.md

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Updated alsabar (markdown)
[etc/awesome.git] / borderbox.md
index e4d7afb3debf7ee471037a86f0d33d7846a0c76b..a56026a9bea93431362169bb29f014c9e246535c 100644 (file)
@@ -15,7 +15,7 @@ Variable | Meaning | Type | Default
 `color` | Color of the additional box | string | `#FFFFFF`
 `size` | Size in pixels of the additional box | int | 1
 
-Possible values for `.position`: `above`, `below`, `left` and `right`.
+Possible values for `.position`: `top`, `bottom`, `left` and `right`.
 
 ### Example usage
 
@@ -40,10 +40,10 @@ adds a borderbox on top of them:
         ...
 
            -- Most likely, you'll want to do this as well:
-           awful.screen.padding(screen[s], { bottom = 1 })
+           awful.screen.padding(screen[s], "bottom")
 
            -- Create the box and place it above the existing box.
-           lain.widgets.borderbox(mywibox[s], s, { position = "above" } )
+           lain.widgets.borderbox(mywibox[s], s )
 
         ...
        end
\ No newline at end of file