]> git.decadent.org.uk Git - ion3.git/blob - mod_sp/cfg_sp.lua
Imported Upstream version 20090110
[ion3.git] / mod_sp / cfg_sp.lua
1 --
2 -- Ion mod_sp configuration file
3 --
4
5 defbindings("WScreen", {
6     bdoc("Toggle scratchpad."),
7     kpress(META.."space", "mod_sp.set_shown_on(_, 'toggle')"),
8     
9     -- A more ideal key for toggling the scratchpad would be the key left of
10     -- the key for numeral 1. Unfortunately the symbols mapped to this key
11     -- vary by the keyboard layout, and to be fully portable to different 
12     -- architechtures and fancy keyboards, we can't rely on keycodes either. 
13     -- However, on standard Finnish/Swedish (and other Nordic) keyboard 
14     -- layouts the following should work:
15     --kpress(META.."section", "mod_sp.set_shown_on(_, 'toggle')"),
16     -- and on UK and US layouts this should work:
17     --kpress(META.."grave", "mod_sp.set_shown_on(_, 'toggle')"),
18 })
19