]> 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 tpbat (markdown)
[etc/awesome.git] / borderbox.md
index cdeece2ae9d2e71e9430043fe18d09b94a756ca2..a56026a9bea93431362169bb29f014c9e246535c 100644 (file)
@@ -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.
 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
 
 `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
 
 
 ### Example usage
 
@@ -38,10 +40,10 @@ adds a borderbox on top of them:
         ...
 
            -- Most likely, you'll want to do this as well:
         ...
 
            -- 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.
 
            -- 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
 
         ...
        end
\ No newline at end of file