#how do i patch dwm manually

7 messages · Page 1 of 1 (latest)

little stratus
#

patch -p1 < patch-name.diff

if it fails, open the .rej files that come in the error output, look for the - and + lines and change accordingly.
- Something something
means you need to remove that line

+ This thing that thing
means you need to add that line

Sometimes it can be like this

- Something a b c
+ Something a b c d

so just add d in front.

And then recompile once you are sure all patches are done

#

Some patches can get messy so you will need to do some tinkering

#

I suggest going with DWMv6.2 as some patches do not support v6.3 (the latest one) yet.

#

Also, I skipped the systray patch and opted to use the trayer-srg system tray program instead as patching systray is a massive pain.

little stratus
#

It is on DWM's website. You can try to find it. Otherwise I will send it to you tomorrow.

#

Direct link. Click to download.