Open Vinschers opened 1 year ago
Thanks for that. There are not a lot of novel ideas coming up for dwm these days so something new is always welcome.
To be honest I think this is likely going to be too specific to include in dwm-flexipatch, but I'll have a tinker in any case.
Some thoughts / feedback that you may consider for your personal build:
gettagsuperscript
function - wouldn't it make more sense to use the IconsOccupied
array of icons instead to hold the super scripts? (I do see that you are using those as a fallback for when there is no client icon, but that could be handled differently)occupiedicons[][3][50]
array - you could define the custom icon and associated colour code as client rule optionscontainsstr
- maybe you want to use the strstr
function which searches for a needle in a haystack (and is used in the applyrules function if you need examples)change_scheme
- that is an interesting way to hack the current colour scheme
Hey, I don't know it this is OK or if this is the place to do something like that, but I was wondering if I could share a patch I did some time ago and maybe add it to the project.
I am no C programmer; I just put some stuff together and it worked. I would be happy to change anything if necessary.
The basic idea of the patch is showing the icon of the main window in its tag, dynamically. Something like this.
I coded it on top of the
BAR_WINICON_PATCH
and tagicons patches.This is the basic diff file for it:
What do you think?