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