Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add screen lock hotkey to awesome

  • Loading branch information...
commit 7989d61992e35762c5f0396ce61a61cdd86bc2ce 1 parent f54941c
@franklinhu authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  awesome.lua
View
3  awesome.lua
@@ -243,6 +243,9 @@ globalkeys = awful.util.table.join(
awful.key({ modkey, "Control" }, "n", awful.client.restore),
+ -- Screen lock
+ awful.key({ modkey, "Control" }, "l", function() awful.util.spawn("xlock") end),
+
-- Prompt
awful.key({ modkey }, "r", function () mypromptbox[mouse.screen]:run() end),
Please sign in to comment.
Something went wrong with that request. Please try again.