awesomerc: enhance button 1 on tasklist (FS#450)
This will make it work with alltags label function. Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
ada983d08e
commit
76b081622b
|
@ -123,7 +123,13 @@ mytaglist.buttons = { button({ }, 1, awful.tag.viewonly),
|
|||
button({ }, 4, awful.tag.viewnext),
|
||||
button({ }, 5, awful.tag.viewprev) }
|
||||
mytasklist = {}
|
||||
mytasklist.buttons = { button({ }, 1, function (c) client.focus = c; c:raise() end),
|
||||
mytasklist.buttons = { button({ }, 1, function (c)
|
||||
if not c:isvisible() then
|
||||
awful.tag.viewonly(c:tags()[1])
|
||||
end
|
||||
client.focus = c
|
||||
c:raise()
|
||||
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