diff --git a/mybindings.lua b/mybindings.lua index 26d6186..46110ee 100644 --- a/mybindings.lua +++ b/mybindings.lua @@ -74,8 +74,8 @@ local progmap = { local home = os.getenv("HOME") local docmap = { - {"p", binder.spawn("docopen " .. home .. "/ pdf"), "Alle PDF-Dokumente" }, - {"b", binder.spawn("docopen " .. home .. "/doc/books pdf epub mobi txt lit html htm"), "Bücher" }, + {"p", binder.spawn("docopen -e pdf " .. home), "Alle PDF-Dokumente" }, + {"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" }, {"j", binder.spawn("dmjavadoc"), "Javadoc" } } diff --git a/separable/binder.lua b/separable/binder.lua index a016b19..4518540 100644 --- a/separable/binder.lua +++ b/separable/binder.lua @@ -215,8 +215,10 @@ local default_bindings = awful.util.table.join( awful.key({ modkey, "Shift" }, "k", function () awful.client.swap.byidx( -1) end), - awful.key({ modkey, }, "h", screen_focus_wrapdir("left")), - awful.key({ modkey, }, "l", screen_focus_wrapdir("right")), + --awful.key({ modkey, }, "h", screen_focus_wrapdir("left")), + --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