summaryrefslogtreecommitdiff
path: root/rc.lua
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2009-12-30 03:04:50 +0100
committerAdrian C. (anrxc) <anrxc@sysphere.org>2009-12-30 03:04:50 +0100
commit0341a77bc37689afb82c726f72155478f4cc8f53 (patch)
treef26c569ef57aa7b4324aeff1f994af5701e9953e /rc.lua
parent00001409b258ed94cf978fdd1341c5dd80f03012 (diff)
downloadawesome-configs-0341a77bc37689afb82c726f72155478f4cc8f53.tar.xz
rc.lua: toggle wibox even when there are no clients
Diffstat (limited to 'rc.lua')
-rw-r--r--rc.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/rc.lua b/rc.lua
index d5eb60f..f2d6ab4 100644
--- a/rc.lua
+++ b/rc.lua
@@ -374,6 +374,9 @@ globalkeys = awful.util.table.join(
-- }}}
-- {{{ Awesome controls
+ awful.key({ modkey }, "b", function ()
+ wibox[mouse.screen].visible = not wibox[mouse.screen].visible
+ end),
awful.key({ modkey, "Shift" }, "q", awesome.quit),
awful.key({ modkey, "Shift" }, "r", function ()
promptbox[mouse.screen].text = awful.util.escape(awful.util.restart())
@@ -422,9 +425,6 @@ globalkeys = awful.util.table.join(
-- {{{ Client manipulation
clientkeys = awful.util.table.join(
- awful.key({ modkey }, "b", function ()
- wibox[mouse.screen].visible = not wibox[mouse.screen].visible
- end),
awful.key({ modkey }, "c", function (c) c:kill() end),
awful.key({ modkey }, "d", function (c) scratchpad.set(c, 0.60, 0.60, true) end),
awful.key({ modkey }, "f", function (c) awful.titlebar.remove(c)