From 7b1de4074459cca9afb7de4cccf549ffde062e44 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sun, 29 Jul 2012 22:40:29 +0200 Subject: [PATCH] widget: free more space when using one screen --- rc/widgets.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/rc/widgets.lua b/rc/widgets.lua index c5bb36e..0c7f7f5 100644 --- a/rc/widgets.lua +++ b/rc/widgets.lua @@ -208,10 +208,11 @@ for s = 1, screen.count() do wibox[s].widgets = { { - sepopen, + screen.count() > 1 and sepopen or "", taglist[s], - spacer, - layoutbox[s], sepclose, + screen.count() > 1 and spacer or "", + layoutbox[s], + screen.count() > 1 and sepclose or "", promptbox[s], layout = awful.widget.layout.horizontal.leftright },