aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-02-22 23:58:19 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-02-22 23:58:19 -0300
commit934b8a0fe645ec1a0693fddb4082fa15e3481b37 (patch)
treea20836f84279d4dbabb73da35324ac776ff6e2a0
parent90f3bf4c1d519e8b7d755f78b525b660b63944e0 (diff)
downloadmetadot-934b8a0fe645ec1a0693fddb4082fa15e3481b37.tar.gz
metadot-934b8a0fe645ec1a0693fddb4082fa15e3481b37.tar.bz2
Adding another xlock shortcut into awesome; removing unused widget
-rw-r--r--modules/awesome/config.dot/awesome.link/keys.lua3
-rw-r--r--modules/awesome/config.dot/awesome.link/rc.lua1
2 files changed, 3 insertions, 1 deletions
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
}