Add some keybindings

This commit is contained in:
crater2150 2014-08-19 08:04:42 +02:00
parent 2253e0f835
commit a81dd19f61

View file

@ -46,12 +46,14 @@ progmap = {
docmap = { docmap = {
u = { func = spawnf("docopen ~/uni pdf"), desc = "Uni-Dokumente" }, u = { func = spawnf("docopen ~/uni pdf"), desc = "Uni-Dokumente" },
b = { func = spawnf("docopen ~/books pdf epub mobi txt lit html htm"), desc = "Bücher" } b = { func = spawnf("docopen ~/books pdf epub mobi txt lit html htm"), desc = "Bücher" },
t = { func = spawnf("dtexdoc"), desc = "Texdoc" }
} }
calendarmap = { calendarmap = {
i = { func = function() calendar:next() end, desc = "Next" }, o = { func = function() calendar:next() end, desc = "Next" },
o = { func = function() calendar:prev() end, desc = "Prev" } i = { func = function() calendar:prev() end, desc = "Prev" },
q = { func = function() calendar:prev() end, desc = "Close" }
} }
@ -77,7 +79,7 @@ wirelessmap = {
function bindings.extend_key_table(globalkeys) function bindings.extend_key_table(globalkeys)
return awful.util.table.join(globalkeys or {}, return awful.util.table.join(globalkeys or {},
awful.key({ }, "Menu", spawnf('wmselect')), awful.key({ }, "Pause", spawnf('wmselect')),
awful.key({ modkey, "Control" }, "r", awesome.restart), awful.key({ modkey, "Control" }, "r", awesome.restart),
awful.key({ modkey, "Shift" }, "q", awesome.quit), awful.key({ modkey, "Shift" }, "q", awesome.quit),
@ -118,6 +120,7 @@ function bindings.extend_key_table(globalkeys)
--{{{ Prompt --{{{ Prompt
awful.key({ modkey }, "r", conf.cmd.run), awful.key({ modkey }, "r", conf.cmd.run),
awful.key({ modkey, "Shift" }, "r", spawnf("dmenu_desktopfile")),
awful.key({ modkey }, "s", spawnf("dmsearch")), awful.key({ modkey }, "s", spawnf("dmsearch")),