summaryrefslogtreecommitdiff
path: root/rc.lua
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2009-10-11 16:31:25 +0200
committerAdrian C. (anrxc) <anrxc@sysphere.org>2009-10-11 16:31:25 +0200
commit22ca415d315e72b94035072e005e2ff52a8dae61 (patch)
tree86c83c2e87e13c1acf4334cbb9494f382f3ba2fc /rc.lua
parenta91abad842269f045ee9cb3777f6745f987cfa7c (diff)
downloadawesome-configs-22ca415d315e72b94035072e005e2ff52a8dae61.tar.xz
rc.lua: wibox hiding simplified
Diffstat (limited to 'rc.lua')
-rw-r--r--rc.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/rc.lua b/rc.lua
index 243b3e7..d7bf42a 100644
--- a/rc.lua
+++ b/rc.lua
@@ -538,9 +538,7 @@ local globalkeys = awful.util.table.join(
-- {{{ Client manipulation
local clientkeys = awful.util.table.join(
awful.key({ modkey }, "b", function ()
- if wibox[mouse.screen].screen == nil
- then wibox[mouse.screen].screen = mouse.screen
- else wibox[mouse.screen].screen = nil end
+ wibox[mouse.screen].visible = not wibox[mouse.screen].visible
end),
awful.key({ modkey }, "c", function (c) c:kill() end),
awful.key({ modkey }, "f", function (c) awful.titlebar.remove(c)