Update modalbind
This commit is contained in:
parent
ce2b4ded18
commit
be630095a1
|
@ -1 +1 @@
|
|||
Subproject commit c4f48eff3e2e57f5fe550fc1cdea377a55065fda
|
||||
Subproject commit 6cba6e0cc4b08b75125d62a1b9747b2b27218b26
|
|
@ -40,7 +40,7 @@ local mpdmap = {
|
|||
{"t", mpd.prompt.title, "title" },
|
||||
{"j", mpd.prompt.jump, "jump" },
|
||||
{"r", mpd.prompt.toggle_replace_on_search, "toggle replacing" },
|
||||
{"h", mb.grabf(mpdhosts, "Select MPD host"), "Change host" }
|
||||
{"h", mb.grabf{keymap=mpdhosts, name="Select MPD host"}, "Change host" }
|
||||
}
|
||||
|
||||
local progmap = {
|
||||
|
@ -76,10 +76,10 @@ local myglobalkeys = awful.util.table.join(
|
|||
|
||||
--{{{ Modal mappings
|
||||
|
||||
awful.key({ modkey }, "m", mb.grabf(mpdmap, "MPD", true)),
|
||||
awful.key({ modkey }, "m", mb.grabf{keymap=mpdmap, name="MPD", stay_in_mode=true}),
|
||||
--awful.key({ modkey, "Shift" }, "m", mb.grabf(mpdpromts, "MPD - Search for")),
|
||||
awful.key({ modkey }, "c", mb.grabf(progmap, "Commands")),
|
||||
awful.key({ modkey }, "d", mb.grabf(docmap, "Documents")),
|
||||
awful.key({ modkey }, "c", mb.grabf{keymap=progmap, name="Commands"}),
|
||||
awful.key({ modkey }, "d", mb.grabf{keymap=docmap, name="Documents"}),
|
||||
awful.key({ modkey }, "n", function()
|
||||
if naughty.is_suspended() then
|
||||
naughty.resume()
|
||||
|
|
1
rc.lua
1
rc.lua
|
@ -62,6 +62,7 @@ audiowheel = require("audiowheel")-- { bg = "#ffff00aa" }
|
|||
|
||||
binder = require("separable.binder")
|
||||
binder.modal.set_location("bottom_left")
|
||||
binder.modal.hide_default_options()
|
||||
--binder.modal.set_x_offset(18)
|
||||
|
||||
binder.add_default_bindings()
|
||||
|
|
|
@ -126,8 +126,8 @@ local default_bindings = awful.util.table.join(
|
|||
|
||||
--{{{ Modal mappings
|
||||
|
||||
awful.key({ modkey }, "space", mb.grabf(layoutmap, "Layouts")),
|
||||
awful.key({ modkey, "Control" }, "space", mb.grabf(layoutsettings, "Layout settings", true)),
|
||||
awful.key({ modkey }, "space", mb.grabf{keymap=layoutmap, name="Layouts"}),
|
||||
awful.key({ modkey, "Control" }, "space", mb.grabf{keymap=layoutsettings, name="Layout settings", stay_in_mode=true}),
|
||||
--}}}
|
||||
|
||||
--{{{ Audio control
|
||||
|
|
Loading…
Reference in a new issue