awesomerc: open clients menu only once

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Leon Winter 2009-01-08 13:59:19 +01:00 committed by Julien Danjou
parent 8a82349da3
commit ab57bad361
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ mytaglist.buttons = { button({ }, 1, awful.tag.viewonly),
button({ }, 5, awful.tag.viewprev) } button({ }, 5, awful.tag.viewprev) }
mytasklist = {} mytasklist = {}
mytasklist.buttons = { button({ }, 1, function (c) client.focus = c; c:raise() end), mytasklist.buttons = { button({ }, 1, function (c) client.focus = c; c:raise() end),
button({ }, 3, function () awful.menu.clients({ width=250 }) end), button({ }, 3, function () if instance then instance:hide() end instance = awful.menu.clients({ width=250 }) end),
button({ }, 4, function () awful.client.focus.byidx(1) end), button({ }, 4, function () awful.client.focus.byidx(1) end),
button({ }, 5, function () awful.client.focus.byidx(-1) end) } button({ }, 5, function () awful.client.focus.byidx(-1) end) }