mirror of https://github.com/lcpz/lain.git
asyncshell.request: removed unused argument
This commit is contained in:
parent
527e38f437
commit
7f203ab08d
|
@ -44,8 +44,7 @@ function asyncshell.request(command, callback)
|
||||||
string.format("sh -c '%s > %s; " ..
|
string.format("sh -c '%s > %s; " ..
|
||||||
'echo "asyncshell.deliver(%s)" | ' ..
|
'echo "asyncshell.deliver(%s)" | ' ..
|
||||||
"awesome-client' 2> /dev/null",
|
"awesome-client' 2> /dev/null",
|
||||||
string.gsub(command, "'", "'\\''"), tmpfname,
|
string.gsub(command, "'", "'\\''"), tmpfname, id)
|
||||||
id, tmpfname)
|
|
||||||
spawn(req, false)
|
spawn(req, false)
|
||||||
return id
|
return id
|
||||||
end
|
end
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
--[[
|
--[[
|
||||||
|
|
||||||
Licensed under GNU General Public License v2
|
Licensed under GNU General Public License v2
|
||||||
* (c) 2015, luke bonham
|
* (c) 2015, Luke Bonham
|
||||||
* (c) 2015, plotnikovanton
|
* (c) 2015, plotnikovanton
|
||||||
|
|
||||||
--]]
|
--]]
|
||||||
|
@ -11,7 +11,7 @@ local wibox = require("wibox")
|
||||||
local beautiful = require("beautiful")
|
local beautiful = require("beautiful")
|
||||||
local gears = require("gears")
|
local gears = require("gears")
|
||||||
|
|
||||||
-- Lain cairo separators util submodule
|
-- Lain Cairo separators util submodule
|
||||||
-- lain.util.separators
|
-- lain.util.separators
|
||||||
local separators = {}
|
local separators = {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue