Skip to content

Instantly share code, notes, and snippets.

@blueyed
Created September 2, 2015 20:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save blueyed/461742557500677e8409 to your computer and use it in GitHub Desktop.
Save blueyed/461742557500677e8409 to your computer and use it in GitHub Desktop.
local spawn_with_props = function(cmd, props)
local pid, snid = awful.util.spawn(cmd)
if not snid then
bnote("ASSERTION FAILURE (spawn_with_props): no snid")
else
snid_props_cb[snid] = props
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment