bakkeby / tabbed-flexipatch

A tabbed build with preprocessor directives to decide which patches to include during build time
MIT License
43 stars 13 forks source link
flexipatch suckless tabbed

Similar to dwm-flexipatch this tabbed 0.8 (7215169, 2024-03-19) project has a different take on patching. It uses preprocessor directives to decide whether or not to include a patch during build time. Essentially this means that this build, for better or worse, contains both the patched and the original code. The aim being that you can select which patches to include and the build will contain that code and nothing more.

For example to include the alpha patch then you would only need to flip this setting from 0 to 1 in patches.h:

#define ALPHA_PATCH 1

Once you have found out what works for you and what doesn't then you should be in a better position to choose patches should you want to start patching from scratch.

Alternatively if you have found the patches you want, but don't want the rest of the flexipatch entanglement on your plate then you may want to have a look at flexipatch-finalizer; a custom pre-processor tool that removes all the unused flexipatch code leaving you with a build that contains the patches you selected.

Refer to https://tools.suckless.org/tabbed/ for details on tabbed, how to install it and how it works.


Changelog:

2023-10-26 - Added the separator, drag, basenames, move-clamped and xresources reload patches

2022-03-14 - Added the awesomebar patch

2021-07-29 - Added the bar-height and xresources patches

2021-07-26 - Added the center patch and the bottom tabs patch

2020-09-11 - Added icon patch

2020-04-03 - Added alpha, autohide, clientnumber, hidetabs, keycode and keyrelease patches

Patches included: