mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-24 18:58:33 +02:00
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:
parent
4cc87d1cce
commit
dd693fc5e6
2 changed files with 2 additions and 3 deletions
|
@ -71,8 +71,7 @@ function QuakeConsole:display()
|
||||||
|
|
||||||
if not client then
|
if not client then
|
||||||
-- The client does not exist, we spawn it
|
-- The client does not exist, we spawn it
|
||||||
awful.util.spawn("env RESOURCE_NAME=" .. self.name .. " " ..
|
awful.util.spawn(self.terminal .. " " .. string.format(self.argname, self.name),
|
||||||
self.terminal .. " " .. string.format(self.argname, self.name),
|
|
||||||
false, self.screen)
|
false, self.screen)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
|
@ -3,7 +3,7 @@ local quake = loadrc("quake", "vbe/quake")
|
||||||
local quakeconsole = {}
|
local quakeconsole = {}
|
||||||
for s = 1, screen.count() do
|
for s = 1, screen.count() do
|
||||||
quakeconsole[s] = quake({ terminal = config.terminal,
|
quakeconsole[s] = quake({ terminal = config.terminal,
|
||||||
argname = " ",
|
argname = "--name %s",
|
||||||
height = 0.3,
|
height = 0.3,
|
||||||
screen = s })
|
screen = s })
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue