awesomerc: open clients menu only once
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
8a82349da3
commit
ab57bad361
|
@ -123,7 +123,7 @@ mytaglist.buttons = { button({ }, 1, awful.tag.viewonly),
|
|||
button({ }, 5, awful.tag.viewprev) }
|
||||
mytasklist = {}
|
||||
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({ }, 5, function () awful.client.focus.byidx(-1) end) }
|
||||
|
||||
|
|
Loading…
Reference in New Issue