diff --git a/awesomerc.lua.in b/awesomerc.lua.in index 270efe964..6dc81b632 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", " ")