X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/62acc707f6daaccedeab99426875e81c3eaf5c11..1898354d7689dae919aa3e7e1f1d3b905b634c2f:/borderbox.md diff --git a/borderbox.md b/borderbox.md index cdeece2..a56026a 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,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