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