Add placement function to docs for tag preview

This commit is contained in:
gokul 2021-06-16 00:53:28 -07:00 committed by GitHub
parent 4f1022b83e
commit 8b245f7ef3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 1 deletions

View File

@ -17,7 +17,15 @@ bling.widget.tag_preview.enable {
y = 10, -- The y-coord of the popup
scale = 0.25, -- The scale of the previews compared to the screen
honor_padding = false, -- Honor padding when creating widget size
honor_workarea = false -- Honor work area when creating widget size
honor_workarea = false, -- Honor work area when creating widget size
placement_fn = function(c) -- Place the widget using awful.placement (this overrides x & y)
awful.placement.top_left(c, {
margins = {
top = 30,
left = 30
}
})
end
}
```