Update contrib
[notion/jeffpc.git] / ioncore / ioncore_efbb.lua
blobe5049ba8c8fd3121cbe05ccbfcbca527590a9544
1 --
2 -- ion/share/ioncore_efbb.lua -- Minimal emergency fallback bindings.
3 --
4 -- Copyright (c) Tuomo Valkonen 2004-2009.
5 --
6 -- See the included file LICENSE for details.
7 --
9 warn(TR([[
10 Making the following minimal emergency mappings:
11 F2 -> xterm
12 F11 -> restart
13 F12 -> exit
14 Mod1+C -> close
15 Mod1+K P/N -> WFrame.switch_next/switch_prev
16 ]]))
19 defbindings("WScreen", {
20 kpress("F2", function() ioncore.exec('xterm') end),
21 kpress("F11", function() ioncore.restart() end),
22 kpress("F12", function() ioncore.exit() end),
25 defbindings("WMPlex", {
26 kpress_wait("Mod1+C", WRegion.rqclose_propagate),
29 defbindings("WFrame", {
30 submap("Mod1+K", {
31 kpress("AnyModifier+N", function(f) f:switch_next() end),
32 kpress("AnyModifier+P", function(f) f:switch_prev() end),