From ab57bad361554f4d43323d8e0df2ffd7cf2555ce Mon Sep 17 00:00:00 2001 From: Leon Winter Date: Thu, 8 Jan 2009 13:59:19 +0100 Subject: [PATCH] awesomerc: open clients menu only once Signed-off-by: Julien Danjou --- awesomerc.lua.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awesomerc.lua.in b/awesomerc.lua.in index 6b85b544..765c4450 100644 --- a/awesomerc.lua.in +++ b/awesomerc.lua.in @@ -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) }