From: Silvio Rhatto Date: Sat, 23 Feb 2013 02:58:19 +0000 (-0300) Subject: Adding another xlock shortcut into awesome; removing unused widget X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=934b8a0fe645ec1a0693fddb4082fa15e3481b37;p=metadot.git Adding another xlock shortcut into awesome; removing unused widget --- 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 }