diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-02-22 23:58:19 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-02-22 23:58:19 -0300 |
commit | 934b8a0fe645ec1a0693fddb4082fa15e3481b37 (patch) | |
tree | a20836f84279d4dbabb73da35324ac776ff6e2a0 | |
parent | 90f3bf4c1d519e8b7d755f78b525b660b63944e0 (diff) | |
download | dotfiles-934b8a0fe645ec1a0693fddb4082fa15e3481b37.tar.gz dotfiles-934b8a0fe645ec1a0693fddb4082fa15e3481b37.tar.bz2 |
Adding another xlock shortcut into awesome; removing unused widget
-rw-r--r-- | modules/awesome/config.dot/awesome.link/keys.lua | 3 | ||||
-rw-r--r-- | modules/awesome/config.dot/awesome.link/rc.lua | 1 |
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 } |