Elv13 / radical

An extensible menu subsystem for Awesome WM
223 stars 16 forks source link

Allow filtering "empty" tags on the taglist impl. #27

Open mindeunix opened 9 years ago

mindeunix commented 9 years ago

My setup have many tags, it's difficult to fit them all in one wibox. http://gns-ank.github.io/awesome/doc/classes/awful.widget.taglist.html#taglist.filter.noempty

Elv13 commented 9 years ago

Hello,

This is an useful feature, I see why you want it. However, radical.impl.taglist is using the tag ::index properties instead of filters. While filters are more flexible from an user point of view, they are also much heavier and cause full reload of the taglist everytime an event happen. Unless someone write an extension that use Radical "hide" property, this will be unclean to implement. awful.tags also have an "hide" property. I will implement it at some point. You can hack your way around usinf radical.impl.taglist.item() method.

To do this, I personally use Tyrannical.