Skip to content

Instantly share code, notes, and snippets.

@blueyed
Created Sep 2, 2015
Embed
What would you like to do?
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