update keybindings

This commit is contained in:
Alexander Gehrke 2020-10-05 10:48:45 +02:00
parent 34f210646e
commit 2f25e69509
2 changed files with 6 additions and 4 deletions

View file

@ -74,8 +74,8 @@ local progmap = {
local home = os.getenv("HOME") local home = os.getenv("HOME")
local docmap = { local docmap = {
{"p", binder.spawn("docopen " .. home .. "/ pdf"), "Alle PDF-Dokumente" }, {"p", binder.spawn("docopen -e pdf " .. home), "Alle PDF-Dokumente" },
{"b", binder.spawn("docopen " .. home .. "/doc/books pdf epub mobi txt lit html htm"), "Bücher" }, {"b", binder.spawn("docopen -e pdf -e epub -e mobi -e txt -e lit -e html -e htm " .. home .. "/doc/books "), "Bücher" },
{"t", binder.spawn("dmtexdoc"), "Texdoc" }, {"t", binder.spawn("dmtexdoc"), "Texdoc" },
{"j", binder.spawn("dmjavadoc"), "Javadoc" } {"j", binder.spawn("dmjavadoc"), "Javadoc" }
} }

View file

@ -215,8 +215,10 @@ local default_bindings = awful.util.table.join(
awful.key({ modkey, "Shift" }, "k", function () awful.key({ modkey, "Shift" }, "k", function ()
awful.client.swap.byidx( -1) awful.client.swap.byidx( -1)
end), end),
awful.key({ modkey, }, "h", screen_focus_wrapdir("left")), --awful.key({ modkey, }, "h", screen_focus_wrapdir("left")),
awful.key({ modkey, }, "l", screen_focus_wrapdir("right")), --awful.key({ modkey, }, "l", screen_focus_wrapdir("right")),
awful.key({ modkey, }, "h", function() awful.screen.focus_relative(1) end),
awful.key({ modkey, }, "l", function() awful.screen.focus_relative(-1) end),
--}}} --}}}
--{{{ Modal mappings --{{{ Modal mappings