Re: [dwm] on-the-fly tags creation and deletion

From: Julian Romero <julian.romero+dwm_AT_gmail.com>
Date: Mon, 21 Aug 2006 09:50:13 +0200

> > #define TAGS \
> > -const char *tags[] = { "0", "1", "2", "3", "4", NULL };
> > +char *tags[] = { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL };
>
> I think this tag-interface is quite an ugly hack. What happens
> if a user creates 15 new tags or more during runtime?
>
That's an implementation problem (I'm not very fluent in C) Nothing to
do with the interface or with the feature itself, doesn't it?

I wanted to check if it's useful and just hacked something ugly (I
call it handy)
Anyway, if you look further, when a tag can't be created there is a
message in the status bar. Nothing crashes ;)

I tested my own medicine^H^Hhack and I think I want it. I wrote some
shell scripts to quickly reshape my tag space depending on the project
I will work on. First 5 or 6 tags are permanent. Following 5 or 6 ones
are project dependent (or even state-of-mind dependent)

Now I'll try to write a better implementation (to merge with my sticky
layout mainly)
Any help will be welcomed.

regards,
julian
Received on Mon Aug 21 2006 - 09:50:16 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:30:15 UTC