awesome/configuration/client/buttons.lua

14 lines
471 B
Lua

local awful = require('awful')
local modkey = require('configuration.keys.mod').modKey
return awful.util.table.join(awful.button({}, 1, function(c)
_G.client.focus = c
c:raise()
end), awful.button({modkey}, 1, awful.mouse.client.move), awful.button({modkey, 'Shift'}, 1, awful.mouse.client.resize),
awful.button({modkey}, 4, function()
awful.layout.inc(1)
end), awful.button({modkey}, 5, function()
awful.layout.inc(-1)
end))