diff options
author | Adrian C. (anrxc) <anrxc@sysphere.org> | 2009-10-11 16:31:25 +0200 |
---|---|---|
committer | Adrian C. (anrxc) <anrxc@sysphere.org> | 2009-10-11 16:31:25 +0200 |
commit | 22ca415d315e72b94035072e005e2ff52a8dae61 (patch) | |
tree | 86c83c2e87e13c1acf4334cbb9494f382f3ba2fc | |
parent | a91abad842269f045ee9cb3777f6745f987cfa7c (diff) | |
download | awesome-configs-22ca415d315e72b94035072e005e2ff52a8dae61.tar.xz |
rc.lua: wibox hiding simplified
-rw-r--r-- | rc.lua | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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) |