Permalink
Browse files

Add screen lock hotkey to awesome

  • Loading branch information...
1 parent f54941c commit 7989d61992e35762c5f0396ce61a61cdd86bc2ce @franklinhu committed Jun 3, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 awesome.lua
View
@@ -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),

0 comments on commit 7989d61

Please sign in to comment.