tags: use icons only with multiple screens

This commit is contained in:
Vincent Bernat 2012-09-08 23:08:10 +02:00
parent f07f7c9fc6
commit 961719eadd

View file

@ -4,7 +4,10 @@ require("shifty")
keydoc = loadrc("keydoc", "vbe/keydoc") keydoc = loadrc("keydoc", "vbe/keydoc")
local tagicon = function(icon) local tagicon = function(icon)
if screen.count() > 1 then
return beautiful.icons .. "/taglist/" .. icon .. ".png" return beautiful.icons .. "/taglist/" .. icon .. ".png"
end
return nil
end end
shifty.config.tags = { shifty.config.tags = {