Open ltpour opened 6 years ago
I just cloned a fresh copy of dwm from http://git.suckless.org/dwm and it does have a *colors[] array.
Are you sure you are using the latest copy? (6.1)
Yes, 6.1, but I didn't clone it with git, I installed the Gentoo package which fetches the source from here. Looks like the 6.1 release is already 2 years old, the colors*[] array was probably added after that.
It seems the instructions and the file that pywal produces are correct for the latest git version but not for the 6.1 release (maybe it should be mentioned in the wiki?). What I did to make them work with that version was I added a bunch of #defines like #define norm_fg normfgcolor
and #define norm_bg normbgcolor
before the #include
line.
Yes, as a dwm user myself, I do recommend staying with the most current git.
I will update the wiki now, thanks.
I wouldn't exactly say the Gentoo package it "out of date" as the stable package is the latest release available and there is also a live ebuild that uses git.
More than 9 months passed. Do we still have this issue today? Thank you. :rabbit:
This is still an issue, for some reason the tar listed on suckless.org still doesn't feature a *colors[][3]
array.
i do not use the urgent border patch, because I never felt much need of it, to use the colors of the pywal along with the dwm the only one I did was to add the required member to the enum, which already provides the necessary selection and normal colors.
below is a small patch:
git apply wal.patch
its works :]
Which version of dwm are they for? I'm running version 6.1 and haven't applied any colour-related patches other than the recommended "urgent" patch. There is no
*colors
array in my config file, and instead ofnorm_fg[]
I havenormfgcolor[]
, instead ofnorm_bg[]
normbgcolor[]
and so on.