Doors/configs/awesome/binds/mouse.lua

18 lines
490 B
Lua
Raw Normal View History

-- Binds related to the mouse
clientbuttons = Gears.table.join(
2024-01-09 20:38:24 -05:00
Awful.button({}, 1, function(c)
c:emit_signal('request::activate', 'mouse_click', { raise = true })
end),
2024-01-09 20:38:24 -05:00
Awful.button({ Modkey }, 1, function(c)
c:emit_signal('request::activate', 'mouse_click', { raise = true })
Awful.mouse.client.move(c)
end),
2024-01-09 20:38:24 -05:00
Awful.button({ Modkey }, 3, function(c)
c:emit_signal('request::activate', 'mouse_click', { raise = true })
Awful.mouse.client.resize(c)
end)
)