panel: Add `launch_panel` property to clients
This commit is contained in:
parent
da51cb9e0a
commit
9e9cc08a38
|
@ -42,6 +42,7 @@ local function spawn(cmd, args)
|
||||||
args.callback = function (c)
|
args.callback = function (c)
|
||||||
c.floating = true
|
c.floating = true
|
||||||
c.skip_taskbar = true
|
c.skip_taskbar = true
|
||||||
|
c.launch_panel = true
|
||||||
awful.placement.scale(c, {to_percent=args.scale or 0.5})
|
awful.placement.scale(c, {to_percent=args.scale or 0.5})
|
||||||
awful.placement.centered(c)
|
awful.placement.centered(c)
|
||||||
if panel.setup_func then
|
if panel.setup_func then
|
||||||
|
|
Loading…
Reference in New Issue