panel: Add `launch_panel` property to clients

This commit is contained in:
James Reed 2020-12-05 16:37:58 -07:00
parent da51cb9e0a
commit 9e9cc08a38
No known key found for this signature in database
GPG Key ID: 0BE2BD33C5E8125E
1 changed files with 1 additions and 0 deletions

View File

@ -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