Commit Graph

3 Commits (fcbe686ff250849b00da2479baf71dedc3cb0f07)

Author SHA1 Message Date
bakkeby 49fc922f0d For all intensive purposes the monitor index is the same as monitor num, thus refactoring to use the latter 2 years ago
pepper-jelly 0733c39e0c sed source files to end with 1 new line 3 years ago
bakkeby f45acf8795 Added alttagsdecoration patch.
Unified tag icon handling while adding support for different icons per monitor.

In general LENGTH(tags) has been replaced with a NUMTAGS macro (defaulting to 9)
and the tags[] array has been replaced with a tagicons[][] array, access to which
is done through a single function tagicon.

This allows one central place where alternative tags, alttagsdecoration, or other
future tags logic is handled. This also gives a consistent display of tags
regardless of the module that presents tags.

Additionally the monitor index has been integrated into dwm for easier access.
4 years ago