From 8e50edeeff9188eac3f305236f5d29c5d6cae3db Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Mon, 9 Jan 2017 10:08:00 +0100 Subject: [PATCH] Update 4_graphic_interface.md --- 4_graphic_interface.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/4_graphic_interface.md b/4_graphic_interface.md index 151a55a..d50e4c9 100644 --- a/4_graphic_interface.md +++ b/4_graphic_interface.md @@ -93,7 +93,9 @@ mymainmenu = awful.menu({ items = { { "awesome", myawesomemenu, beautiful.a Add a shortcut to lock screen ``` - +-- {{{ Key bindings +globalkeys = awful.util.table.join( + awful.key({ modkey, }, "z", function () awful.util.spawn("xlock") end), -- this to add ```