aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xawesome/rc.lua12
-rwxr-xr-xherbstluftwm/autostart6
2 files changed, 15 insertions, 3 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,
diff --git a/herbstluftwm/autostart b/herbstluftwm/autostart
index a946bbd1..ae804687 100755
--- a/herbstluftwm/autostart
+++ b/herbstluftwm/autostart
@@ -19,10 +19,10 @@ hc set focus_follows_mouse 1
# if you have a super key you will be much happier with Mod set to Mod4
# Mod=Mod1 # Use alt as the main modifier
Mod=Mod4 # Use the super key as the main modifier
-hc keybind Control-d spawn caja
hc keybind Mod1-Return spawn dmenu_run
-hc keybind Mod4-Shift-m spawn betterlockscreen -s -t 'Vidhu Kant is gone rn'
-hc keybinf Mod1-s spawn scrot ~/Screenshots/%Y-%m-%d-%T-screenshot.png
+hc keybind Mod4-Shift-m spawn betterlockscreen -s
+hc keybind Mod1-s spawn scrot ~/Media/Screenshots/%Y-%d-%m-%T-screenshot.png
+hc keybind Mod4-Shift-Return spawn pcmanfm
# autostart
firefox &