]> git.rmz.io Git - dotfiles.git/commitdiff
awesome: add mod+r key to launch ranger
authorSamir Benmendil <samir.benmendil@gmail.com>
Tue, 9 Dec 2014 21:11:06 +0000 (21:11 +0000)
committerSamir Benmendil <samir.benmendil@gmail.com>
Tue, 9 Dec 2014 22:28:21 +0000 (22:28 +0000)
awesome/bindings.lua

index 91d634096dccb064aa48aab943c34195bec5d0ba..f32104d5905d40710868c0af73841fd29b772411 100644 (file)
@@ -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)