Major refactoring in preparation for bar modules
This commit is contained in:
106
patch/include.c
106
patch/include.c
@ -1,19 +1,57 @@
|
||||
/* Patches */
|
||||
#if ALPHA_PATCH
|
||||
#include "alpha.c"
|
||||
/* Bar functionality */
|
||||
#if BAR_ALPHA_PATCH
|
||||
#include "bar_alpha.c"
|
||||
#endif
|
||||
#if ALTERNATIVE_TAGS_PATCH
|
||||
#include "alternativetags.c"
|
||||
#if BAR_ALTERNATIVE_TAGS_PATCH
|
||||
#include "bar_alternativetags.c"
|
||||
#endif
|
||||
#if BAR_DWMBLOCKS_PATCH && BAR_STATUSCMD_PATCH
|
||||
#include "bar_dwmblocks.c"
|
||||
#endif
|
||||
#if BAR_LTSYMBOL_PATCH
|
||||
#include "bar_ltsymbol.c"
|
||||
#endif
|
||||
#if BAR_STATUS_PATCH
|
||||
#include "bar_status.c"
|
||||
#endif
|
||||
#if BAR_STATUS2D_PATCH
|
||||
#include "bar_status2d.c"
|
||||
#if BAR_EXTRABAR_PATCH
|
||||
#include "bar_status2d_eb.c"
|
||||
#endif // BAR_EXTRABAR_PATCH
|
||||
#endif
|
||||
#if BAR_STATUSBUTTON_PATCH
|
||||
#include "bar_statusbutton.c"
|
||||
#endif
|
||||
#if BAR_STATUSCMD_PATCH
|
||||
#include "bar_statuscmd.c"
|
||||
#endif
|
||||
#if BAR_TAGS_PATCH
|
||||
#include "bar_tags.c"
|
||||
#endif
|
||||
#if BAR_TAGGRID_PATCH
|
||||
#include "bar_taggrid.c"
|
||||
#endif
|
||||
#if BAR_WINTITLE_PATCH
|
||||
#include "bar_wintitle.c"
|
||||
#endif
|
||||
#if BAR_FANCYBAR_PATCH
|
||||
#include "bar_fancybar.c"
|
||||
#endif
|
||||
#if BAR_AWESOMEBAR_PATCH
|
||||
#include "bar_awesomebar.c"
|
||||
#endif
|
||||
#if BAR_SYSTRAY_PATCH
|
||||
#include "bar_systray.c"
|
||||
#endif
|
||||
|
||||
/* Other patches */
|
||||
#if ATTACHABOVE_PATCH || ATTACHASIDE_PATCH || ATTACHBELOW_PATCH || ATTACHBOTTOM_PATCH
|
||||
#include "attachx.c"
|
||||
#endif
|
||||
#if AUTOSTART_PATCH
|
||||
#include "autostart.c"
|
||||
#endif
|
||||
#if AWESOMEBAR_PATCH
|
||||
#include "awesomebar.c"
|
||||
#endif
|
||||
#if CFACTS_PATCH
|
||||
#include "cfacts.c"
|
||||
#endif
|
||||
@ -29,15 +67,12 @@
|
||||
#if DRAGCFACT_PATCH && CFACTS_PATCH
|
||||
#include "dragcfact.c"
|
||||
#endif
|
||||
#if DWMBLOCKS_PATCH && STATUSCMD_PATCH
|
||||
#include "dwmblocks.c"
|
||||
#endif
|
||||
#if DWMC_PATCH
|
||||
#include "dwmc.c"
|
||||
#elif FSIGNAL_PATCH
|
||||
#include "fsignal.c"
|
||||
#endif
|
||||
#if EWMHTAGS_PATCH
|
||||
#if BAR_EWMHTAGS_PATCH
|
||||
#include "ewmhtags.c"
|
||||
#endif
|
||||
#if EXRESIZE_PATCH
|
||||
@ -58,7 +93,7 @@
|
||||
#if FULLSCREEN_PATCH
|
||||
#include "fullscreen.c"
|
||||
#endif
|
||||
#if HOLDBAR_PATCH
|
||||
#if BAR_HOLDBAR_PATCH
|
||||
#include "holdbar.c"
|
||||
#endif
|
||||
#if INPLACEROTATE_PATCH
|
||||
@ -131,21 +166,12 @@
|
||||
#if STACKER_PATCH
|
||||
#include "stacker.c"
|
||||
#endif
|
||||
#if STATUS2D_PATCH && !STATUSCOLORS_PATCH
|
||||
#include "status2d.c"
|
||||
#endif
|
||||
#if STATUSCOLORS_PATCH
|
||||
#if BAR_STATUSCOLORS_PATCH
|
||||
#include "statuscolors.c"
|
||||
#endif
|
||||
#if STATUSCMD_PATCH
|
||||
#include "statuscmd.c"
|
||||
#endif
|
||||
#if STICKY_PATCH
|
||||
#include "sticky.c"
|
||||
#endif
|
||||
#if SYSTRAY_PATCH
|
||||
#include "systray.c"
|
||||
#endif
|
||||
#if SWALLOW_PATCH
|
||||
#include "swallow.c"
|
||||
#endif
|
||||
@ -188,7 +214,7 @@
|
||||
#if VANITYGAPS_PATCH
|
||||
#include "vanitygaps.c"
|
||||
#endif
|
||||
#if VTCOLORS_PATCH
|
||||
#if BAR_VTCOLORS_PATCH
|
||||
#include "vtcolors.c"
|
||||
#endif
|
||||
#if WARP_PATCH
|
||||
@ -200,7 +226,7 @@
|
||||
#if ZOOMSWAP_PATCH
|
||||
#include "zoomswap.c"
|
||||
#endif
|
||||
#if XRDB_PATCH && !VTCOLORS_PATCH
|
||||
#if XRDB_PATCH && !BAR_VTCOLORS_PATCH
|
||||
#include "xrdb.c"
|
||||
#endif
|
||||
#if DRAGMFACT_PATCH
|
||||
@ -211,44 +237,44 @@
|
||||
#include "layout_facts.c"
|
||||
#endif
|
||||
#if BSTACK_LAYOUT
|
||||
#include "bstack.c"
|
||||
#include "layout_bstack.c"
|
||||
#endif
|
||||
#if BSTACKHORIZ_LAYOUT
|
||||
#include "bstackhoriz.c"
|
||||
#include "layout_bstackhoriz.c"
|
||||
#endif
|
||||
#if CENTEREDMASTER_LAYOUT
|
||||
#include "centeredmaster.c"
|
||||
#include "layout_centeredmaster.c"
|
||||
#endif
|
||||
#if CENTEREDFLOATINGMASTER_LAYOUT
|
||||
#include "centeredfloatingmaster.c"
|
||||
#include "layout_centeredfloatingmaster.c"
|
||||
#endif
|
||||
#if COLUMNS_LAYOUT
|
||||
#include "columns.c"
|
||||
#include "layout_columns.c"
|
||||
#endif
|
||||
#if DECK_LAYOUT
|
||||
#include "deck.c"
|
||||
#include "layout_deck.c"
|
||||
#endif
|
||||
#if FIBONACCI_DWINDLE_LAYOUT || FIBONACCI_SPIRAL_LAYOUT
|
||||
#include "fibonacci.c"
|
||||
#include "layout_fibonacci.c"
|
||||
#endif
|
||||
#if FLEXTILE_DELUXE_LAYOUT
|
||||
#include "flextile-deluxe.c"
|
||||
#include "layout_flextile-deluxe.c"
|
||||
#endif
|
||||
#if GAPPLESSGRID_LAYOUT
|
||||
#include "gapplessgrid.c"
|
||||
#include "layout_gapplessgrid.c"
|
||||
#endif
|
||||
#if GRIDMODE_LAYOUT
|
||||
#include "grid.c"
|
||||
#include "layout_grid.c"
|
||||
#endif
|
||||
#if HORIZGRID_LAYOUT
|
||||
#include "horizgrid.c"
|
||||
#include "layout_horizgrid.c"
|
||||
#endif
|
||||
#if MONOCLE_LAYOUT
|
||||
#include "monocle.c"
|
||||
#include "layout_monocle.c"
|
||||
#endif
|
||||
#if NROWGRID_LAYOUT
|
||||
#include "nrowgrid.c"
|
||||
#include "layout_nrowgrid.c"
|
||||
#endif
|
||||
#if TILE_LAYOUT
|
||||
#include "tile.c"
|
||||
#endif
|
||||
#include "layout_tile.c"
|
||||
#endif
|
Reference in New Issue
Block a user