/tabbed-flexipatch

A tabbed build with preprocessor directives to decide which patches to include during build time

Primary LanguageCMIT LicenseMIT

Similar to dwm-flexipatch this tabbed 0.7 (5ddbc73, 2022-10-05) 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:

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:

  • alpha

    • the alpha patch allows tabbed to handle windows with transparency
  • autohide

    • hides the tab bar if only one tab is open
  • awesomebar

    • evenly divides tab bar space between the tabbed windows
  • bar-height

    • allows the height of the bar to be manually specified
  • bottomtabs

    • moves the tabs / bar to the bottom of the tabbed window
  • center

    • centers window titles in tabs
  • clientnumber

    • prints the position number of the client before the window title
  • hidetabs

    • this patch hides all the tabs and only shows them when Mod+Shift is pressed
  • icon

    • this patch gives tabbed an icon
    • the icon is the currently selected tab's icon
    • if the selected tab has no icon (or no tab is selected), use a default icon
  • keycode

    • with this patch, handling key input is done with keycodes instead of keysyms making the keyboard layout independent
  • keyrelease

    • this patch enables for function handling on KeyRelease events
  • xresources

    • allows tabbed colors to be defined via Xresources