dwm/patch/include.c

387 lines
7.4 KiB
C
Raw Normal View History

/* Bar functionality */
#include "bar_indicators.c"
#include "bar_tagicons.c"
2022-07-05 14:55:42 +02:00
#include "bar.c"
#if BAR_ALPHA_PATCH
#include "bar_alpha.c"
2019-09-05 00:32:39 +02:00
#endif
#if BAR_ALTERNATIVE_TAGS_PATCH
#include "bar_alternativetags.c"
2019-09-09 23:27:10 +02:00
#endif
2020-09-10 13:32:28 +02:00
#if BAR_ANYBAR_PATCH
#include "bar_anybar.c"
#endif
#if BAR_DWMBLOCKS_PATCH && BAR_STATUSCMD_PATCH
#include "bar_dwmblocks.c"
#endif
2020-07-15 09:26:16 +02:00
#if BAR_EWMHTAGS_PATCH
#include "bar_ewmhtags.c"
#endif
2020-07-18 18:59:03 +02:00
#if COMBO_PATCH
#include "combo.c"
#endif
#if BAR_LTSYMBOL_PATCH
#include "bar_ltsymbol.c"
#endif
2020-07-19 16:57:30 +02:00
#if BAR_POWERLINE_STATUS_PATCH
#include "bar_powerline_status.c"
#endif
#if BAR_POWERLINE_TAGS_PATCH
#include "bar_powerline_tags.c"
#endif
#if BAR_STATUS_PATCH
#include "bar_status.c"
#endif
#if BAR_STATUS2D_PATCH
#include "bar_status2d.c"
#endif
#if BAR_STATUSBUTTON_PATCH
#include "bar_statusbutton.c"
#endif
#if BAR_STATUSCMD_PATCH
#include "bar_statuscmd.c"
#endif
2020-07-15 09:26:16 +02:00
#if BAR_STATUSCOLORS_PATCH
#include "bar_statuscolors.c"
#endif
2021-07-27 13:40:53 +02:00
#if BAR_WINICON_PATCH
#include "bar_winicon.c"
#endif
2020-08-13 15:42:49 +02:00
#if BAR_TABGROUPS_PATCH
#include "bar_tabgroups.c"
#endif
2022-07-05 14:55:42 +02:00
#if BAR_TAGPREVIEW_PATCH
#include "bar_tagpreview.c"
#endif
#if BAR_TAGS_PATCH
#include "bar_tags.c"
#endif
2021-11-23 22:36:53 +01:00
#if BAR_TAGLABELS_PATCH
#include "bar_taglabels.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_FLEXWINTITLE_PATCH
#include "bar_flexwintitle.c"
#if BAR_WINTITLE_FLOATING_PATCH
#include "bar_wintitle_floating.c"
#endif
#if BAR_WINTITLE_HIDDEN_PATCH
#include "bar_wintitle_hidden.c"
#endif
#endif // BAR_FLEXWINTITLE_PATCH
#if BAR_AWESOMEBAR_PATCH
#include "bar_awesomebar.c"
#endif
#if BAR_SYSTRAY_PATCH
#include "bar_systray.c"
#endif
#if BAR_HOLDBAR_PATCH
#include "bar_holdbar.c"
#endif
2020-07-15 09:26:16 +02:00
#if BAR_VTCOLORS_PATCH
#include "bar_vtcolors.c"
#endif
2020-08-13 15:42:49 +02:00
#if BAR_WINTITLEACTIONS_PATCH
#include "bar_wintitleactions.c"
#endif
2021-01-02 01:26:21 +01:00
#if BAR_LAYOUTMENU_PATCH
#include "bar_layoutmenu.c"
#endif
/* Other patches */
2020-08-27 07:34:21 +02:00
#if ASPECTRESIZE_PATCH
#include "aspectresize.c"
#endif
#if ATTACHABOVE_PATCH || ATTACHASIDE_PATCH || ATTACHBELOW_PATCH || ATTACHBOTTOM_PATCH || SEAMLESS_RESTART_PATCH
#include "attachx.c"
#endif
2019-09-06 23:37:30 +02:00
#if AUTOSTART_PATCH
#include "autostart.c"
#endif
#if CFACTS_PATCH
#include "cfacts.c"
#endif
#if CMDCUSTOMIZE_PATCH
2019-10-05 23:56:43 +02:00
#include "cmdcustomize.c"
#endif
2020-08-10 10:22:21 +02:00
#if COOL_AUTOSTART_PATCH
#include "cool_autostart.c"
#endif
2019-09-07 22:27:06 +02:00
#if CYCLELAYOUTS_PATCH
#include "cyclelayouts.c"
#endif
2020-08-11 10:17:02 +02:00
#if DECORATION_HINTS_PATCH
#include "decorationhints.c"
#endif
2021-04-06 12:47:38 +02:00
#if DISTRIBUTETAGS_PATCH
#include "distributetags.c"
#endif
2020-03-25 15:15:47 +01:00
#if DRAGCFACT_PATCH && CFACTS_PATCH
#include "dragcfact.c"
#endif
2019-10-07 23:34:23 +02:00
#if DWMC_PATCH
#include "dwmc.c"
#elif FSIGNAL_PATCH
#include "fsignal.c"
2019-10-07 23:34:23 +02:00
#endif
2020-01-17 09:54:23 +01:00
#if EXRESIZE_PATCH
#include "exresize.c"
#endif
#if !FAKEFULLSCREEN_PATCH && FAKEFULLSCREEN_CLIENT_PATCH
2019-11-21 12:15:16 +01:00
#include "fakefullscreenclient.c"
#endif
2020-06-21 15:33:29 +02:00
#if FLOATPOS_PATCH
#include "floatpos.c"
#endif
2019-10-02 23:57:25 +02:00
#if FOCUSADJACENTTAG_PATCH
#include "focusadjacenttag.c"
#endif
2021-02-11 12:29:48 +01:00
#if FOCUSDIR_PATCH
#include "focusdir.c"
#endif
2020-08-11 10:25:19 +02:00
#if FOCUSMASTER_PATCH
#include "focusmaster.c"
#endif
2019-10-03 00:10:08 +02:00
#if FOCUSURGENT_PATCH
#include "focusurgent.c"
#endif
#if FULLSCREEN_PATCH
#include "fullscreen.c"
#endif
2020-01-17 09:54:23 +01:00
#if INPLACEROTATE_PATCH
#include "inplacerotate.c"
2019-10-24 08:47:00 +02:00
#endif
2020-09-07 17:48:58 +02:00
#if IPC_PATCH
#include "ipc.c"
#ifdef VERSION
#include "ipc/IPCClient.c"
#include "ipc/yajl_dumps.c"
#include "ipc/ipc.c"
#include "ipc/util.c"
#endif
#endif // IPC_PATCH
2020-08-10 12:32:58 +02:00
#if INSETS_PATCH
#include "insets.c"
#endif
2020-05-31 15:14:29 +02:00
#if KEYMODES_PATCH
#include "keymodes.c"
#endif
2019-10-05 22:55:46 +02:00
#if KILLUNSEL_PATCH
#include "killunsel.c"
#endif
2019-10-04 22:46:47 +02:00
#if MAXIMIZE_PATCH
#include "maximize.c"
#endif
#if MPDCONTROL_PATCH
#include "mpdcontrol.c"
2019-10-10 23:09:07 +02:00
#endif
2020-05-21 19:58:11 +02:00
#if MOVEPLACE_PATCH
#include "moveplace.c"
#endif
2020-05-21 18:55:47 +02:00
#if MOVERESIZE_PATCH
#include "moveresize.c"
#endif
2019-10-04 23:13:55 +02:00
#if MOVESTACK_PATCH
#include "movestack.c"
#endif
2020-09-18 10:53:07 +02:00
#if NO_MOD_BUTTONS_PATCH
#include "nomodbuttons.c"
#endif
2019-09-05 22:58:16 +02:00
#if PERTAG_PATCH
#include "pertag.c"
#endif
2021-01-22 11:28:55 +01:00
#if PLACEMOUSE_PATCH
#include "placemouse.c"
#endif
2019-09-15 00:22:24 +02:00
#if PUSH_NO_MASTER_PATCH
#include "push_no_master.c"
#elif PUSH_PATCH
2019-09-14 00:36:18 +02:00
#include "push.c"
#endif
2020-08-02 15:18:18 +02:00
#if REORGANIZETAGS_PATCH
#include "reorganizetags.c"
#endif
#if RESTARTSIG_PATCH
#include "restartsig.c"
#endif
2021-02-11 12:01:08 +01:00
#if RIODRAW_PATCH
#include "riodraw.c"
#endif
2019-09-07 22:42:01 +02:00
#if ROTATESTACK_PATCH
#include "rotatestack.c"
#endif
2020-03-31 08:21:00 +02:00
#if ROUNDED_CORNERS_PATCH
#include "roundedcorners.c"
#endif
2022-06-20 14:00:09 +02:00
#if RENAMED_SCRATCHPADS_PATCH
#include "renamed_scratchpads.c"
#elif SCRATCHPADS_PATCH
2019-10-10 23:33:04 +02:00
#include "scratchpad.c"
#endif
#if SCRATCHPAD_ALT_1_PATCH
#include "scratchpad_alt_1.c"
#endif
2019-09-14 23:58:04 +02:00
#if SELFRESTART_PATCH
#include "selfrestart.c"
#endif
2019-09-14 23:28:04 +02:00
#if SETBORDERPX_PATCH
#include "setborderpx.c"
#endif
2022-07-05 13:51:27 +02:00
#if SHIFTBOTH_PATCH || SHIFTSWAPTAGS_PATCH || SHIFTTAG_PATCH || SHIFTTAGCLIENTS_PATCH || SHIFTVIEW_PATCH || SHIFTVIEW_CLIENTS_PATCH
#include "shift.c"
#endif
2022-07-04 13:34:41 +02:00
#if SHIFTBOTH_PATCH
#include "shiftboth.c"
#endif
2022-07-04 13:56:39 +02:00
#if SHIFTSWAPTAGS_PATCH && SWAPTAGS_PATCH
#include "shiftswaptags.c"
#endif
2022-07-04 11:25:28 +02:00
#if SHIFTTAG_PATCH
#include "shifttag.c"
#endif
2022-07-04 13:07:36 +02:00
#if SHIFTTAGCLIENTS_PATCH
#include "shifttagclients.c"
#endif
2020-01-29 14:22:24 +01:00
#if SHIFTVIEW_PATCH
#include "shiftview.c"
#endif
2020-05-03 16:09:05 +02:00
#if SHIFTVIEW_CLIENTS_PATCH
#include "shiftviewclients.c"
#endif
2020-06-15 21:01:05 +02:00
#if SIZEHINTS_RULED_PATCH
#include "sizehints_ruled.c"
#endif
2019-10-07 22:56:53 +02:00
#if SORTSCREENS_PATCH
2019-10-16 08:28:00 +02:00
#ifdef XINERAMA
2019-10-07 22:56:53 +02:00
#include "sortscreens.c"
2019-10-16 08:28:00 +02:00
#endif // XINERAMA
2019-10-07 22:56:53 +02:00
#endif
#if STACKER_PATCH
#include "stacker.c"
#endif
2019-09-15 00:43:35 +02:00
#if STICKY_PATCH
#include "sticky.c"
#endif
2019-10-22 19:08:00 +02:00
#if SWALLOW_PATCH
#include "swallow.c"
2020-01-29 08:31:00 +01:00
#endif
#if SWAPFOCUS_PATCH && PERTAG_PATCH
#include "swapfocus.c"
#endif
2020-02-11 08:27:00 +01:00
#if SWAPTAGS_PATCH
#include "swaptags.c"
#endif
2019-10-04 00:20:47 +02:00
#if SWITCHCOL_PATCH
#include "switchcol.c"
#endif
2021-03-09 13:23:39 +01:00
#if TAB_PATCH
#include "tab.c"
#endif
2019-10-04 23:56:00 +02:00
#if TAGALL_PATCH
#include "tagall.c"
#endif
#if TAGALLMON_PATCH
#include "tagallmon.c"
#endif
2020-06-19 23:18:50 +02:00
#if TAGOTHERMONITOR_PATCH
#include "tagothermonitor.c"
#endif
#if TAGSWAPMON_PATCH
#include "tagswapmon.c"
#endif
2021-03-30 21:31:45 +02:00
#if TAPRESIZE_PATCH
#include "tapresize.c"
#endif
2019-09-05 23:27:33 +02:00
#if TOGGLEFULLSCREEN_PATCH
#include "togglefullscreen.c"
#endif
2020-01-26 07:32:00 +01:00
#if TRANSFER_PATCH
#include "transfer.c"
#endif
2020-02-02 11:55:19 +01:00
#if TRANSFER_ALL_PATCH
#include "transferall.c"
#endif
#if UNFLOATVISIBLE_PATCH
#include "unfloatvisible.c"
#endif
#if VANITYGAPS_PATCH
#include "vanitygaps.c"
#endif
2019-09-15 00:43:35 +02:00
#if WARP_PATCH
#include "warp.c"
#endif
2019-09-15 23:33:43 +02:00
#if WINVIEW_PATCH
#include "winview.c"
#endif
#if ZOOMSWAP_PATCH
#include "zoomswap.c"
2019-09-05 23:27:33 +02:00
#endif
2021-04-07 15:35:56 +02:00
#if XKB_PATCH
#include "xkb.c"
#endif
#if XRDB_PATCH && !BAR_VTCOLORS_PATCH
2019-09-15 22:45:22 +02:00
#include "xrdb.c"
#endif
#if DRAGMFACT_PATCH
#include "dragmfact.c"
#endif
#if SEAMLESS_RESTART_PATCH
#include "seamless_restart.c"
#endif
/* Layouts */
#if BSTACK_LAYOUT || BSTACKHORIZ_LAYOUT || CENTEREDMASTER_LAYOUT || CENTEREDFLOATINGMASTER_LAYOUT || COLUMNS_LAYOUT || DECK_LAYOUT || TILE_LAYOUT
#include "layout_facts.c"
#endif
#if BSTACK_LAYOUT
#include "layout_bstack.c"
#endif
#if BSTACKHORIZ_LAYOUT
#include "layout_bstackhoriz.c"
#endif
2019-09-09 21:35:19 +02:00
#if CENTEREDMASTER_LAYOUT
#include "layout_centeredmaster.c"
2019-09-09 21:35:19 +02:00
#endif
#if CENTEREDFLOATINGMASTER_LAYOUT
#include "layout_centeredfloatingmaster.c"
2019-09-09 21:35:19 +02:00
#endif
2019-10-08 22:57:21 +02:00
#if COLUMNS_LAYOUT
#include "layout_columns.c"
2019-10-08 22:57:21 +02:00
#endif
2019-09-09 18:00:02 +02:00
#if DECK_LAYOUT
#include "layout_deck.c"
2019-09-09 18:00:02 +02:00
#endif
2019-09-09 18:50:05 +02:00
#if FIBONACCI_DWINDLE_LAYOUT || FIBONACCI_SPIRAL_LAYOUT
#include "layout_fibonacci.c"
2019-09-09 18:50:05 +02:00
#endif
#if FLEXTILE_DELUXE_LAYOUT
#include "layout_flextile-deluxe.c"
2019-09-09 22:25:19 +02:00
#endif
2019-09-09 19:11:31 +02:00
#if GAPPLESSGRID_LAYOUT
#include "layout_gapplessgrid.c"
2019-09-09 19:11:31 +02:00
#endif
2019-09-09 19:31:16 +02:00
#if GRIDMODE_LAYOUT
#include "layout_grid.c"
2019-09-09 19:31:16 +02:00
#endif
#if HORIZGRID_LAYOUT
#include "layout_horizgrid.c"
2019-09-09 19:31:16 +02:00
#endif
#if MONOCLE_LAYOUT
#include "layout_monocle.c"
#endif
2019-09-09 19:49:41 +02:00
#if NROWGRID_LAYOUT
#include "layout_nrowgrid.c"
2019-09-09 19:49:41 +02:00
#endif
#if TILE_LAYOUT
#include "layout_tile.c"
2021-01-02 01:26:21 +01:00
#endif