mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
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
1 changed files with 7 additions and 1 deletions
|
@ -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 a new issue