terminal: don't use env variable to give a name to GTK terminal

GTK applications accept `--name` as a special parameter just for that.
This commit is contained in:
Vincent Bernat 2014-09-23 20:49:21 +02:00
parent 4cc87d1cce
commit dd693fc5e6
2 changed files with 2 additions and 3 deletions

View file

@ -71,8 +71,7 @@ function QuakeConsole:display()
if not client then
-- The client does not exist, we spawn it
awful.util.spawn("env RESOURCE_NAME=" .. self.name .. " " ..
self.terminal .. " " .. string.format(self.argname, self.name),
awful.util.spawn(self.terminal .. " " .. string.format(self.argname, self.name),
false, self.screen)
return
end