[awesomerc] Fix taglist mouse bindings
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
8fdc1d9608
commit
e5222ce55a
|
@ -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", "<bg color=\"#555555\"/> <title/> ")
|
||||
|
|
Loading…
Reference in New Issue