mirror of
https://github.com/purhan/dotfiles.git
synced 2025-12-26 14:24:58 +08:00
13 lines
462 B
Lua
13 lines
462 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}, 3, awful.mouse.client.resize),
|
|
awful.button({modkey}, 4, function()
|
|
awful.layout.inc(1)
|
|
end), awful.button({modkey}, 5, function()
|
|
awful.layout.inc(-1)
|
|
end))
|