mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-18 22:06:01 +01:00
parent
f228257512
commit
f26fa5e099
2 changed files with 15 additions and 0 deletions
|
@ -307,6 +307,8 @@ function awfulwibar.new(arg)
|
|||
end
|
||||
end
|
||||
|
||||
arg.screen = nil
|
||||
|
||||
local w = wibox(arg)
|
||||
|
||||
w.screen = screen
|
||||
|
|
|
@ -185,6 +185,19 @@ local function new(args)
|
|||
end
|
||||
})
|
||||
|
||||
-- Set other wibox specific arguments
|
||||
if args.bgimage then
|
||||
ret:set_bgimage( args.bgimage )
|
||||
end
|
||||
|
||||
if args.widget then
|
||||
ret:set_widget ( args.widget )
|
||||
end
|
||||
|
||||
if args.screen then
|
||||
ret:set_screen ( args.screen )
|
||||
end
|
||||
|
||||
return ret
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue