minor binding and rule updates

This commit is contained in:
crater2150 2016-07-25 15:07:53 +02:00
parent 5d072ec3f1
commit 997c8b0fbb
3 changed files with 19 additions and 3 deletions

View file

@ -52,7 +52,7 @@ layoutsettings = {
}
local default_bindings = awful.util.table.join(
awful.key({ modkey, "Control" }, "r", awesome.restart),
--awful.key({ modkey, "Control" }, "r", awesome.restart),
awful.key({ modkey, "Shift" }, "q", awesome.quit),
awful.key({ modkey, }, "Return", spawnf(conf.cmd.terminal)),
@ -132,6 +132,10 @@ function binder.add_default_bindings()
return binder.add_bindings(default_bindings)
end
function binder.clear()
globalkeys = {}
end
function binder.apply()
root.keys(globalkeys)