Doors/configs/awesome/wibar/tasklist.lua

20 lines
467 B
Lua
Raw Normal View History

Tasklist_buttons = Gears.table.join(
2024-01-09 20:38:24 -05:00
Awful.button({}, 1, function(c)
if c == client.focus then
c.minimized = true
else
c:emit_signal('request::activate', 'tasklist', { raise = true })
end
end),
2024-01-09 20:38:24 -05:00
Awful.button({}, 3, function()
Awful.menu.client_list { theme = { width = 250 } }
end),
Awful.button({}, 4, function()
Awful.client.focus.byidx(1)
end),
Awful.button({}, 5, function()
Awful.client.focus.byidx(-1)
end)
)