From 934b8a0fe645ec1a0693fddb4082fa15e3481b37 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 22 Feb 2013 23:58:19 -0300 Subject: Adding another xlock shortcut into awesome; removing unused widget --- modules/awesome/config.dot/awesome.link/keys.lua | 3 +++ modules/awesome/config.dot/awesome.link/rc.lua | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/awesome/config.dot/awesome.link/keys.lua b/modules/awesome/config.dot/awesome.link/keys.lua index 04e1549..0ec5e0c 100644 --- a/modules/awesome/config.dot/awesome.link/keys.lua +++ b/modules/awesome/config.dot/awesome.link/keys.lua @@ -14,6 +14,9 @@ globalkeys = awful.util.table.join(root.keys(), awful.key({ modkey, "Control" }, "t", function () awful.util.spawn("thunar") end), --awful.key({ modkey, "Control" }, "b", function () awful.util.spawn("terminal irssi") end), + -- Xlock + awful.key({ }, "XF86ScreenSaver", function () awful.util.spawn("xlock") end), + -- Volume keys awful.key({ }, "XF86AudioRaiseVolume", function () awful.util.spawn("amixer set Master 9%+", false) end), awful.key({ }, "XF86AudioLowerVolume", function () awful.util.spawn("amixer set Master 9%-", false) end), diff --git a/modules/awesome/config.dot/awesome.link/rc.lua b/modules/awesome/config.dot/awesome.link/rc.lua index 181e058..d8073fd 100644 --- a/modules/awesome/config.dot/awesome.link/rc.lua +++ b/modules/awesome/config.dot/awesome.link/rc.lua @@ -164,7 +164,6 @@ for s = 1, screen.count() do mytextclock, s == 1 and mysystray or nil, myledbox, - volume_widget, mytasklist[s], layout = awful.widget.layout.horizontal.rightleft } -- cgit v1.2.3