X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=etc%2Fcfg_ioncore.lua;h=a643e4416a4fc5cc5f116a0e4e03a182b8415f77;hb=7c392448b0d2efcc6bb959063dcaa8b2c5ea0964;hp=4cfe2a336132b8cabc1942b8ee224cf3529aebc3;hpb=768d45580fc176cedd04db0b05621cdf596751d5;p=ion3.git diff --git a/etc/cfg_ioncore.lua b/etc/cfg_ioncore.lua index 4cfe2a3..a643e44 100644 --- a/etc/cfg_ioncore.lua +++ b/etc/cfg_ioncore.lua @@ -50,7 +50,7 @@ defbindings("WScreen", { --kpress("I", "ioncore.goto_activity()"), bdoc("Clear all tags."), - kpress("T", "ioncore.clear_tags()"), + kpress("T", "ioncore.tagged_clear()"), }), bdoc("Go to n:th screen on multihead setup."), @@ -179,8 +179,8 @@ defbindings("WMPlex.toplevel", { kpress(META.."G", "mod_query.query_gotoclient(_)"), bdoc("Display context menu."), - --kpress(META.."M", "mod_menu.menu(_, _chld, 'ctxmenu')"), - kpress(META.."M", "mod_query.query_menu(_, _chld, 'ctxmenu', 'Context menu:')"), + --kpress(META.."M", "mod_menu.menu(_, _sub, 'ctxmenu')"), + kpress(META.."M", "mod_query.query_menu(_, _sub, 'ctxmenu', 'Context menu:')"), }) @@ -197,7 +197,7 @@ defbindings("WFrame", { }), bdoc("Display context menu."), - mpress("Button3", "mod_menu.pmenu(_, _chld, 'ctxmenu')"), + mpress("Button3", "mod_menu.pmenu(_, _sub, 'ctxmenu')"), bdoc("Begin move/resize mode."), kpress(META.."R", "WFrame.begin_kbresize(_)"), @@ -222,13 +222,13 @@ defbindings("WFrame", { -- Frames for transient windows ignore this bindmap defbindings("WFrame.toplevel", { - bdoc("Tag current object within the frame."), - kpress(META.."T", "WRegion.set_tagged(_sub, 'toggle')", "_sub:non-nil"), - bdoc("Query for a client window to attach."), kpress(META.."A", "mod_query.query_attachclient(_)"), submap(META.."K", { + -- Display tab numbers when modifiers are released + submap_wait("ioncore.tabnum.show(_)"), + bdoc("Switch to n:th object within the frame."), kpress("1", "WFrame.switch_nth(_, 0)"), kpress("2", "WFrame.switch_nth(_, 1)"), @@ -356,7 +356,7 @@ defctxmenu("WFrame", "Frame", { menuentry("Close", "WRegion.rqclose_propagate(_, _sub)"), -- Low-priority entries menuentry("Attach tagged", "ioncore.tagged_attach(_)", { priority = 0 }), - menuentry("Clear tags", "ioncore.clear_tags()", { priority = 0 }), + menuentry("Clear tags", "ioncore.tagged_clear()", { priority = 0 }), menuentry("Window info", "mod_query.show_tree(_, _sub)", { priority = 0 }), })