From a81dd19f61ff36a41f74f18b3f9094d282493fd1 Mon Sep 17 00:00:00 2001 From: crater2150 Date: Tue, 19 Aug 2014 08:04:42 +0200 Subject: [PATCH] Add some keybindings --- bindings.lua | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/bindings.lua b/bindings.lua index c5f1b04..d26378e 100644 --- a/bindings.lua +++ b/bindings.lua @@ -46,12 +46,14 @@ progmap = { docmap = { 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 = { - i = { func = function() calendar:next() end, desc = "Next" }, - o = { func = function() calendar:prev() end, desc = "Prev" } + o = { func = function() calendar:next() end, desc = "Next" }, + 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) 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, "Shift" }, "q", awesome.quit), @@ -118,6 +120,7 @@ function bindings.extend_key_table(globalkeys) --{{{ Prompt awful.key({ modkey }, "r", conf.cmd.run), + awful.key({ modkey, "Shift" }, "r", spawnf("dmenu_desktopfile")), awful.key({ modkey }, "s", spawnf("dmsearch")),