From: luke bonham Date: Sun, 1 Feb 2015 10:39:26 +0000 (+0100) Subject: asyncshell.request: removed unused argument X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/925c0276a567c35bb3cf140aedc368b9a6e152db?ds=sidebyside;hp=--cc asyncshell.request: removed unused argument --- 925c0276a567c35bb3cf140aedc368b9a6e152db diff --git a/asyncshell.lua b/asyncshell.lua index 4a01caa..36ccc47 100644 --- a/asyncshell.lua +++ b/asyncshell.lua @@ -44,8 +44,7 @@ function asyncshell.request(command, callback) string.format("sh -c '%s > %s; " .. 'echo "asyncshell.deliver(%s)" | ' .. "awesome-client' 2> /dev/null", - string.gsub(command, "'", "'\\''"), tmpfname, - id, tmpfname) + string.gsub(command, "'", "'\\''"), tmpfname, id) spawn(req, false) return id end diff --git a/helpers.lua b/helpers.lua index 1dfb09b..9c4a83f 100644 --- a/helpers.lua +++ b/helpers.lua @@ -9,7 +9,7 @@ local debug = require("debug") local capi = { timer = timer } -local io = { open = io.open, +local io = { open = io.open, lines = io.lines } local rawget = rawget diff --git a/util/separators.lua b/util/separators.lua index 0eb0658..d2a3891 100644 --- a/util/separators.lua +++ b/util/separators.lua @@ -2,7 +2,7 @@ --[[ Licensed under GNU General Public License v2 - * (c) 2015, luke bonham + * (c) 2015, Luke Bonham * (c) 2015, plotnikovanton --]] @@ -11,7 +11,7 @@ local wibox = require("wibox") local beautiful = require("beautiful") local gears = require("gears") --- Lain cairo separators util submodule +-- Lain Cairo separators util submodule -- lain.util.separators local separators = {}