From: Samir Benmendil Date: Tue, 9 Dec 2014 21:11:06 +0000 (+0000) Subject: awesome: add mod+r key to launch ranger X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/132f61a78f36a3ff35e7c26cccae8915c53bd1b1 awesome: add mod+r key to launch ranger --- diff --git a/awesome/bindings.lua b/awesome/bindings.lua index 91d6340..f32104d 100644 --- a/awesome/bindings.lua +++ b/awesome/bindings.lua @@ -80,6 +80,8 @@ globalkeys = awful.util.table.join(globalkeys, -- Ksnapshot awful.key({ }, "F13", function () awful.util.spawn("ksnapshot") end), awful.key({ }, "Print", function () awful.util.spawn("ksnapshot") end), + -- ranger + awful.key({ modkey }, "r", function () awful.util.spawn(terminal .. " -e ranger") end), -- Layout manipulation awful.key({ modkey, }, "Escape", awful.tag.history.restore), awful.key({ modkey, }, "#49", function () awful.screen.focus_relative( 1) end), -- that's the key left of 1 (chronos)