You are not logged in.

#1 2025-03-16 15:04:02

bowlin
Member
Registered: 2025-02-27
Posts: 60

How to get Xresources patched into suckless software to use with pywal

Hey, I've been using pywal with dmenu and st for a couple of weeks now and I decided that I could make use of .Xresources, so it would make it a little less tedious to apply new colors.

Do I need to remove this line in config.def.h if I'm planning to use .Xresources:

#include "/home/me/.cache/wal/colors-wal-dmenu.h"

This is the output I get when I try to run rm config.h && sudo make clean install: https://dpaste.com/DL2DP3WVP

Had to do a bit manually since I have like 3 patches (alpha, border and center.) already in dmenu, but did the manual part all correctly, so I'd like to know what I'm doing wrong. Also good to know in advance, because I plan to patch st and dwm too with the same patch.

Thanks!

Offline

#2 2025-03-16 19:59:41

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,789

Re: How to get Xresources patched into suckless software to use with pywal

Looks like it least collides w/ the alpha(?) patch rw_scm_create expects 4 parameters but you're only providing 3 and the alpha array is missing.

Offline

#3 2025-03-17 18:00:25

bowlin
Member
Registered: 2025-02-27
Posts: 60

Re: How to get Xresources patched into suckless software to use with pywal

hmmmm... seen some people getting those working with the alpha patch, I'm not sure of dmenu but st atleast.

I think I'll try to make another branch of dmenu that I'll patch with the Xresources patch first before applying the others to see if things change tongue Thanks for your insight.

Offline

Board footer

Powered by FluxBB