mirror of
https://github.com/raxracks/suckless-stack.git
synced 2024-08-21 08:44:38 +12:00
10 lines
228 B
C
10 lines
228 B
C
|
char *
|
||
|
tagicon(Monitor *m, int tag)
|
||
|
{
|
||
|
int tagindex = tag + NUMTAGS * m->num;
|
||
|
if (tagindex >= LENGTH(tagicons[DEFAULT_TAGS]))
|
||
|
tagindex = tagindex % LENGTH(tagicons[DEFAULT_TAGS]);
|
||
|
return tagicons[DEFAULT_TAGS][tagindex];
|
||
|
}
|
||
|
|