mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
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
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue