util.quake: removed onlyone parameters; wiki updated; counters #339
This commit is contained in:
parent
1b12fd2319
commit
62edd22cdb
2 changed files with 2 additions and 5 deletions
|
@ -26,8 +26,6 @@ local quake = {}
|
||||||
|
|
||||||
function quake:display()
|
function quake:display()
|
||||||
if self.followtag then self.screen = awful.screen.focused() end
|
if self.followtag then self.screen = awful.screen.focused() end
|
||||||
local toscan = self.screen
|
|
||||||
if self.onlyone then toscan = nil end
|
|
||||||
|
|
||||||
-- First, we locate the client
|
-- First, we locate the client
|
||||||
local client = nil
|
local client = nil
|
||||||
|
@ -35,7 +33,7 @@ function quake:display()
|
||||||
for c in awful.client.iterate(function (c)
|
for c in awful.client.iterate(function (c)
|
||||||
-- c.name may be changed!
|
-- c.name may be changed!
|
||||||
return c.instance == self.name
|
return c.instance == self.name
|
||||||
end, nil, toscan)
|
end, nil, self.screen)
|
||||||
do
|
do
|
||||||
i = i + 1
|
i = i + 1
|
||||||
if i == 1 then
|
if i == 1 then
|
||||||
|
@ -129,7 +127,6 @@ function quake:new(config)
|
||||||
conf.border = conf.border or 1 -- client border width
|
conf.border = conf.border or 1 -- client border width
|
||||||
conf.visible = conf.visible or false -- initially not visible
|
conf.visible = conf.visible or false -- initially not visible
|
||||||
conf.followtag = conf.followtag or false -- spawn on currently focused screen
|
conf.followtag = conf.followtag or false -- spawn on currently focused screen
|
||||||
conf.onlyone = conf.onlyone or false -- one instance for all screens
|
|
||||||
conf.overlap = conf.overlap or false -- overlap wibox
|
conf.overlap = conf.overlap or false -- overlap wibox
|
||||||
conf.screen = conf.screen or awful.screen.focused()
|
conf.screen = conf.screen or awful.screen.focused()
|
||||||
conf.settings = conf.settings
|
conf.settings = conf.settings
|
||||||
|
|
2
wiki
2
wiki
|
@ -1 +1 @@
|
||||||
Subproject commit 232d3b634de9c0d35ad84a009d01f42de84d5e5a
|
Subproject commit 290f246f06fe518ddbe039ea3cf9421a6fdec1e5
|
Loading…
Add table
Reference in a new issue