Bindings: change API to make bindings module responsible for all bindings
This commit is contained in:
parent
6a5115bc7b
commit
8abc0819df
3 changed files with 16 additions and 9 deletions
8
rc.lua
8
rc.lua
|
@ -57,14 +57,12 @@ end
|
|||
-- }}}
|
||||
|
||||
-- {{{ Key bindings
|
||||
globalkeys = {}
|
||||
globalkeys = tags.extend_key_table(globalkeys);
|
||||
|
||||
bindings = require("bindings")
|
||||
bindings.setup()
|
||||
bindings.modalbind.set_x_offset(18)
|
||||
globalkeys = bindings.extend_key_table(globalkeys)
|
||||
|
||||
root.keys(globalkeys)
|
||||
bindings.add_bindings(tags.create_bindings())
|
||||
bindings.apply()
|
||||
-- }}}
|
||||
|
||||
-- {{{ rules
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue