Created attachment 379988 [details, diff] dmenu-4.5-savedconfig.patch I added savedconfig to dmenu so it's possible to configure behavior outside of dwm. This allows you to have unified font and colors if you need to launch dmenu from www-client/surf or terminal.
Created attachment 379992 [details] dmenu-9999.ebuild
I wonder why I removed it now.
(In reply to Ari Malinen from comment #1) > Created attachment 379992 [details] > dmenu-9999.ebuild Nothing much changed since last year[1]. Also, using savedconfig in a live ebuild usually doesn't work that well, especially when you use it for a suckless-based config.h. [1] http://git.suckless.org/dmenu/log/
Comment on attachment 379988 [details, diff] dmenu-4.5-savedconfig.patch >+ restore_config config.h [...] >+ save_config config.h Now I remember. Newer versions of dmenu do not use config.h at all. Have you tested this patch at all?
I guess it would make sense for a -9999 version since upstream has a config.def.h.
I have added dmenu-9999 to the tree with USE=savedconfig. I don't see anything else to do here.
(In reply to Jeroen Roovers from comment #6) > I have added dmenu-9999 to the tree with USE=savedconfig. I don't see > anything else to do here. Great thank you. Sorry i didn't notice the lack of config.h in dmenu-4.5.