diff options
author | Vidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com> | 2020-10-28 15:34:14 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com> | 2020-10-28 15:34:14 +0530 |
commit | 70be66723bc11b49332887787f4cd3b844833b06 (patch) | |
tree | a063860e0ef649100890e8017ca7ad797589e392 /awesome | |
parent | 09c68ed4aeb46595bf148aafc87928ba5c46f1b1 (diff) |
added scrot and pcmanfm keybindings
Diffstat (limited to 'awesome')
-rwxr-xr-x | awesome/rc.lua | 12 |
1 files changed, 12 insertions, 0 deletions
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, |