From 22ca415d315e72b94035072e005e2ff52a8dae61 Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Sun, 11 Oct 2009 16:31:25 +0200 Subject: rc.lua: wibox hiding simplified --- rc.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'rc.lua') 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) -- cgit v1.2.3