|
From: Max m. W. <dra...@ya...> - 2012-03-29 20:12:12
|
Hi,
I recently began to use the min_tabs-script that removes tabs in any frame that contains exactly one client. Suddenly, my scratchpad no longer works, whether or not I actually load the min_tabs-script.
There is a default keybinding in /usr/local/etc/notion/cfg_sp.lua:
defbindings("WScreen", {
bdoc("Toggle scratchpad."),
kpress(META.."space", "mod_sp.set_shown_on(_, 'toggle')"),
-- [ some comments ]
})
I verified that the file is being loaded by introducing an error deliberately, which caused notion to raise an error dialog. I also copied the binding to my ~/.notion/cfg_keybindings.lua and tried different key combinations, such as
META.."x", to make sure that the binding itself isn't at fault. Further, using the lua console I can create a scratchpad by typing
mod_sp.set_shown_on(_,'toggle')
but this creates a scratchpad in the current mplex, which then grabs the focus, and if I then try to toggle the scratchpad away again, another scratchpad is opened within the existing scratchpad. This looks funny, but is not what I want.
Also, within a MPlex context, scratchpad creation works on a per-mplex-basis (but then causes the problem I described above with the recursive scratchpad creation):
defbindings("WMPlex", {
bdoc("Toggle scratchpad."),
kpress(META.."x", "mod_sp.set_shown_on(_, 'toggle')"),
-- this works
Can anyone give me a hint as to what is going on or how I can diagnose the error?
Regards,
Drachenfutter
|