widgets: reduce used space by displaying only currently tagged windows

This commit is contained in:
Vincent Bernat 2012-07-29 17:37:29 +02:00
parent bb6ad3907e
commit d1d27691f0

View file

@ -188,9 +188,6 @@ for s = 1, screen.count() do
tasklist[s] = awful.widget.tasklist( tasklist[s] = awful.widget.tasklist(
function(c) function(c)
local fn = awful.widget.tasklist.label.currenttags local fn = awful.widget.tasklist.label.currenttags
if screen.count() == 1 then
fn = awful.widget.tasklist.label.alltags
end
local title, color, _, icon = fn(c, s) local title, color, _, icon = fn(c, s)
if screen.count() > 1 then if screen.count() > 1 then
-- title, color and icon -- title, color and icon