mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-13 19:54:21 +02:00
quake: use only one quake console for all screens
This commit is contained in:
parent
510fd7146d
commit
119b69b111
2 changed files with 8 additions and 31 deletions
11
rc/quake.lua
11
rc/quake.lua
|
@ -1,15 +1,10 @@
|
|||
local quake = loadrc("quake", "vbe/quake")
|
||||
|
||||
local quakeconsole = {}
|
||||
for s = 1, screen.count() do
|
||||
quakeconsole[s] = quake({ terminal = config.terminal,
|
||||
local quakeconsole = quake({ terminal = config.terminal,
|
||||
argname = "--name %s",
|
||||
height = 0.3,
|
||||
screen = s })
|
||||
end
|
||||
height = 0.3 })
|
||||
|
||||
config.keys.global = awful.util.table.join(
|
||||
config.keys.global,
|
||||
awful.key({ modkey }, "`",
|
||||
function () quakeconsole[mouse.screen]:toggle() end,
|
||||
function () quakeconsole:toggle() end,
|
||||
"Toggle Quake console"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue