Change some bindings (Mod+n)
This commit is contained in:
parent
faac29da72
commit
bfa87c2061
|
@ -59,6 +59,10 @@ local docmap = {
|
|||
{"j", binder.spawn("dmjavadoc"), "Javadoc" }
|
||||
}
|
||||
|
||||
local notifymap = {
|
||||
{"m", binder.spawn("newmails -p"), "Show unread mails" },
|
||||
}
|
||||
|
||||
--local calendarmap = {
|
||||
-- o = { function() calendar:next() end, "Next" },
|
||||
-- i = { function() calendar:prev() end, "Prev" },
|
||||
|
@ -76,6 +80,7 @@ local myglobalkeys = awful.util.table.join(
|
|||
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 }, "n", mb.grabf(notifymap, "Notifications")),
|
||||
--}}}
|
||||
|
||||
-- {{{ handy console
|
||||
|
@ -104,17 +109,10 @@ local myglobalkeys = awful.util.table.join(
|
|||
|
||||
awful.key({ }, "XF86AudioPlay", mpd.ctrl.toggle),
|
||||
awful.key({ }, "XF86AudioNext", mpd.ctrl.next),
|
||||
awful.key({ }, "XF86AudioPrev", mpd.ctrl.prev)
|
||||
awful.key({ }, "XF86AudioPrev", mpd.ctrl.prev),
|
||||
|
||||
--}}}
|
||||
awful.key({ modkey }, "y", binder.spawn("copyq toggle"))
|
||||
|
||||
-- calendar {{{
|
||||
--awful.key({ modkey }, "y",
|
||||
--function()
|
||||
-- calendar:show()
|
||||
-- mb.grab(calendarmap, "Calendar", true)
|
||||
--end
|
||||
--)
|
||||
--}}}
|
||||
)
|
||||
|
||||
|
|
|
@ -90,15 +90,6 @@ local default_bindings = awful.util.table.join(
|
|||
awful.key({ modkey, "Shift" }, "q", awesome.quit),
|
||||
awful.key({ modkey, }, "Return", spawnf(conf.cmd.terminal)),
|
||||
|
||||
awful.key({ modkey, "Control" }, "n", awful.client.restore),
|
||||
awful.key({ modkey, "Shift" }, "n",
|
||||
function()
|
||||
local tag = awful.tag.selected()
|
||||
for i=1, #tag:clients() do
|
||||
awful.client.restore(tag:clients()[i])
|
||||
end
|
||||
end),
|
||||
|
||||
--{{{ Layout manipulation and client position
|
||||
awful.key({ modkey }, "j", function ()
|
||||
awful.client.focus.byidx( 1)
|
||||
|
@ -194,7 +185,6 @@ awful.key({ modkey, "Shift" }, "l", screen_move_client_wrapdir("right")),
|
|||
awful.key({ modkey, "Control" }, "o", function (c) c.ontop = not c.ontop end),
|
||||
awful.key({ modkey, "Shift" }, "a", function (c) c.sticky = not c.sticky end),
|
||||
awful.key({ modkey, "Shift" }, "r", function (c) c:redraw() end),
|
||||
awful.key({ modkey, }, "n", function (c) c.minimized = not c.minimized end),
|
||||
awful.key({ modkey, }, "b", function (c) c.border_width = c.border_width > 0 and 0 or beautiful.border_width end),
|
||||
awful.key({ modkey, }, "Up", function(c) client_opacity_set(c, 1, 1, 0.1) end),
|
||||
awful.key({ modkey, }, "Down", function(c) client_opacity_set(c, 1, 0, -0.1) end),
|
||||
|
|
Loading…
Reference in a new issue