--
-- Ion mod_sp configuration file
--

-- Set default size for scratchpad
mod_sp.set_size(1400, 800);

defbindings("WScreen", {
    bdoc("Toggle scratchpad."),
    kpress(META.."space", "mod_sp.set_shown_on(_, 'toggle')"),

    -- A more ideal key for toggling the scratchpad would be the key left of
    -- the key for numeral 1. Unfortunately the symbols mapped to this key
    -- vary by the keyboard layout, and to be fully portable to different
    -- architechtures and fancy keyboards, we can't rely on keycodes either.
    -- However, on standard Finnish/Swedish (and other Nordic) keyboard
    -- layouts the following should work:
    --kpress(META.."section", "mod_sp.set_shown_on(_, 'toggle')"),
    -- and on UK and US layouts this should work:
    --kpress(META.."grave", "mod_sp.set_shown_on(_, 'toggle')"),
})

