X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/bde0a1a4175c0f2fb4ee6e318949f0884c1636ef..1f35c5057ff4efca355c0f5b6f5e0bbec2ee6d99:/borderbox.md diff --git a/borderbox.md b/borderbox.md index cdeece2..9fd138c 100644 --- a/borderbox.md +++ b/borderbox.md @@ -1,3 +1,5 @@ +[<- widgets](https://github.com/copycat-killer/lain/wiki/Widgets) + Creates a thin wibox at a position relative to another wibox. This allows to create "borders" for your wiboxes. @@ -13,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 @@ -38,7 +40,7 @@ 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" } )