- branch out from
master
a new branchpatched
git branch -b patched
- add this code into
/.git/config
[remote "suckless"]
url = https://git.suckless.org/dwm
fetch = +refs/heads/*:refs/remotes/origin/*
so I can later keep my fork up-to-date with suckless source code by using
git pull suckless master
and then merge master into patched branch
- and here is the process to add new patch
git checkout -b ${patch_name}
curl -O ${patch_url}
patch -p1 < ${patch_file}
git commit -m "apply ${patch_name} patch"
git push -u origin HEAD
git checkout patched
git merge --squashed ${patch_name}
git commit
git push
- noborder
- pertag
- xresources
- fullgaps
- scratchpads
- alwayscenter
- fullscreen
- losefullscreen
- pango
- ipc
- hide vacant tags
- systray
- stickyindicator
- swallow
- integrate fullgaps with pertag
- reload xresources on run time and use ipc
dwm-msg run_commandd xrdb
- togglescratch crashes dwm when using it with ipc
dwm-msg