X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/30a510867ee248d937c772c091ce2b1f15bab755..f5f39bf6d1b33a2ec77cd6f79c1d38ae116ff076:/awesome/utils.lua diff --git a/awesome/utils.lua b/awesome/utils.lua index 0f12be1..070cb3e 100644 --- a/awesome/utils.lua +++ b/awesome/utils.lua @@ -47,7 +47,7 @@ function utils.run_or_kill(prg, cprop, screen) end end end - awful.util.spawn_with_shell(prg, screen) + awful.spawn.with_shell(prg, screen) end -- http://awesome.naquadah.org/wiki/Autostart#Simple_way @@ -61,9 +61,9 @@ function utils.run_once(prg,arg_string,pname,screen) end if not arg_string then - awful.util.spawn_with_shell("pgrep -f -u $USER -x '" .. pname .. "' || (" .. prg .. ")",screen) + awful.spawn.with_shell("pgrep -f -u $USER -x '" .. pname .. "' || (" .. prg .. ")",screen) else - awful.util.spawn_with_shell("pgrep -f -u $USER -x '" .. pname .. " ".. arg_string .."' || (" .. prg .. " " .. arg_string .. ")",screen) + awful.spawn.with_shell("pgrep -f -u $USER -x '" .. pname .. " ".. arg_string .."' || (" .. prg .. " " .. arg_string .. ")",screen) end end