awful.wibox: Set the window type to "dock".
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
b6fa779972
commit
9a8177e457
|
@ -218,6 +218,8 @@ function new(arg)
|
|||
local position = arg.position or "top"
|
||||
local has_to_stretch = true
|
||||
|
||||
arg.type = arg.type or "dock"
|
||||
|
||||
if position ~= "top" and position ~="bottom"
|
||||
and position ~= "left" and position ~= "right" then
|
||||
error("Invalid position in awful.wibox(), you may only use"
|
||||
|
|
Loading…
Reference in New Issue