Add placement function to docs for tag preview
This commit is contained in:
parent
4f1022b83e
commit
8b245f7ef3
|
@ -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
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue