Added bindings module
This commit is contained in:
14
bindings/global_buttons.lua
Normal file
14
bindings/global_buttons.lua
Normal file
@@ -0,0 +1,14 @@
|
||||
local gears = require("gears")
|
||||
local awful = require("awful")
|
||||
|
||||
local _M = {}
|
||||
|
||||
function _M.get()
|
||||
root.buttons(gears.table.join(awful.button({}, 4, awful.tag.viewnext), awful.button({}, 5, awful.tag.viewprev)))
|
||||
end
|
||||
|
||||
return setmetatable({}, {
|
||||
__call = function(_, ...)
|
||||
return _M.get(...)
|
||||
end,
|
||||
})
|
||||
Reference in New Issue
Block a user