Skip to content

Commit

Permalink
util.quake: removed onlyone parameters; wiki updated; counters #339
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Bonham committed Sep 5, 2017
1 parent 1b12fd2 commit 62edd22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions util/quake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,14 @@ local quake = {}

function quake:display()
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
local client = nil
local i = 0
for c in awful.client.iterate(function (c)
-- c.name may be changed!
return c.instance == self.name
end, nil, toscan)
end, nil, self.screen)
do
i = i + 1
if i == 1 then
Expand Down Expand Up @@ -129,7 +127,6 @@ function quake:new(config)
conf.border = conf.border or 1 -- client border width
conf.visible = conf.visible or false -- initially not visible
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.screen = conf.screen or awful.screen.focused()
conf.settings = conf.settings
Expand Down
2 changes: 1 addition & 1 deletion wiki
Submodule wiki updated from 232d3b to 290f24

0 comments on commit 62edd22

Please sign in to comment.