From e5222ce55a54f023f44a7599f5c8fc8aa8e216d4 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 4 Jun 2008 20:31:42 +0200 Subject: [PATCH] [awesomerc] Fix taglist mouse bindings Signed-off-by: Julien Danjou --- awesomerc.lua.in | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/awesomerc.lua.in b/awesomerc.lua.in index 270efe96..6dc81b63 100644 --- a/awesomerc.lua.in +++ b/awesomerc.lua.in @@ -41,13 +41,10 @@ end -- {{{ Statusbar -- Create a taglist widget mytaglist = widget.new({ type = "taglist", name = "mytaglist" }) -mytaglist:mouse({}, 1, awful.tag.viewonly) -mytaglist:mouse({ modkey }, 1, awful.client.toggletag) -mytaglist:mouse({}, 3, - function (object, tag) - tag:view(not tag:isselected()) - end) -mytaglist:mouse({ modkey }, 3, awful.client.toggletag) +mytaglist:mouse({}, 1, function (object, tag) awful.tag.viewonly(tag) end) +mytaglist:mouse({ modkey }, 1, function (object, tag) awful.client.toggletag(tag) end) +mytaglist:mouse({}, 3, function (object, tag) tag:view(not tag:isselected()) end) +mytaglist:mouse({ modkey }, 3, function (object, tag) awful.client.toggletag(tag) end) mytaglist:mouse({ }, 4, awful.tag.viewnext) mytaglist:mouse({ }, 5, awful.tag.viewprev) mytaglist:set("text_focus", " ")