From 70be66723bc11b49332887787f4cd3b844833b06 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Wed, 28 Oct 2020 15:34:14 +0530 Subject: added scrot and pcmanfm keybindings --- awesome/rc.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'awesome') diff --git a/awesome/rc.lua b/awesome/rc.lua index 07c9aaa6..19874936 100755 --- a/awesome/rc.lua +++ b/awesome/rc.lua @@ -286,6 +286,18 @@ globalkeys = gears.table.join( end end, {description = "go back", group = "client"}), + + -- custom hotkeys + + awful.key({ modkey, "Shift" }, "Return", function () awful.spawn.with_shell("pcmanfm") end, + {description = "open file manager", group = "custom"}), + + awful.key({ modkey, "Shift" }, "m", function () awful.spawn.with_shell("betterlockscreen -s ") end, + {description = "lock screen", group = "custom"}), + + awful.key({ "Mod1", }, "s", function () awful.spawn.with_shell("scrot ~/Media/Screenshots/%Y-%d-%m-%T-screenshot.png") end, + {description = "take a screenshot", group = "custom"}), + -- Standard program awful.key({ modkey, }, "Return", function () awful.spawn(terminal) end, -- cgit v1.2.3