aboutsummaryrefslogtreecommitdiff
path: root/awesome
diff options
context:
space:
mode:
Diffstat (limited to 'awesome')
-rwxr-xr-xawesome/rc.lua12
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,