Another copy of my dotfiles. Because I don't completely trust GitHub.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

343 lines
6.5 KiB

  1. /* Bar functionality */
  2. #include "bar_indicators.c"
  3. #include "bar_tagicons.c"
  4. #if BAR_ALPHA_PATCH
  5. #include "bar_alpha.c"
  6. #endif
  7. #if BAR_ALTERNATIVE_TAGS_PATCH
  8. #include "bar_alternativetags.c"
  9. #endif
  10. #if BAR_ANYBAR_PATCH
  11. #include "bar_anybar.c"
  12. #endif
  13. #if BAR_DWMBLOCKS_PATCH && BAR_STATUSCMD_PATCH
  14. #include "bar_dwmblocks.c"
  15. #endif
  16. #if BAR_EWMHTAGS_PATCH
  17. #include "bar_ewmhtags.c"
  18. #endif
  19. #if COMBO_PATCH
  20. #include "combo.c"
  21. #endif
  22. #if BAR_HOLDBAR_PATCH
  23. #include "bar_holdbar.c"
  24. #endif
  25. #if BAR_LTSYMBOL_PATCH
  26. #include "bar_ltsymbol.c"
  27. #endif
  28. #if BAR_POWERLINE_STATUS_PATCH
  29. #include "bar_powerline_status.c"
  30. #endif
  31. #if BAR_POWERLINE_TAGS_PATCH
  32. #include "bar_powerline_tags.c"
  33. #endif
  34. #if BAR_STATUS_PATCH
  35. #include "bar_status.c"
  36. #endif
  37. #if BAR_STATUS2D_PATCH
  38. #include "bar_status2d.c"
  39. #endif
  40. #if BAR_STATUSBUTTON_PATCH
  41. #include "bar_statusbutton.c"
  42. #endif
  43. #if BAR_STATUSCMD_PATCH
  44. #include "bar_statuscmd.c"
  45. #endif
  46. #if BAR_STATUSCOLORS_PATCH
  47. #include "bar_statuscolors.c"
  48. #endif
  49. #if BAR_TABGROUPS_PATCH
  50. #include "bar_tabgroups.c"
  51. #endif
  52. #if BAR_TAGS_PATCH
  53. #include "bar_tags.c"
  54. #endif
  55. #if BAR_TAGGRID_PATCH
  56. #include "bar_taggrid.c"
  57. #endif
  58. #if BAR_WINTITLE_PATCH
  59. #include "bar_wintitle.c"
  60. #endif
  61. #if BAR_FANCYBAR_PATCH
  62. #include "bar_fancybar.c"
  63. #endif
  64. #if BAR_FLEXWINTITLE_PATCH
  65. #include "bar_flexwintitle.c"
  66. #if BAR_WINTITLE_FLOATING_PATCH
  67. #include "bar_wintitle_floating.c"
  68. #endif
  69. #if BAR_WINTITLE_HIDDEN_PATCH
  70. #include "bar_wintitle_hidden.c"
  71. #endif
  72. #endif // BAR_FLEXWINTITLE_PATCH
  73. #if BAR_AWESOMEBAR_PATCH
  74. #include "bar_awesomebar.c"
  75. #endif
  76. #if BAR_SYSTRAY_PATCH
  77. #include "bar_systray.c"
  78. #endif
  79. #if BAR_VTCOLORS_PATCH
  80. #include "bar_vtcolors.c"
  81. #endif
  82. #if BAR_WINTITLEACTIONS_PATCH
  83. #include "bar_wintitleactions.c"
  84. #endif
  85. #if BAR_LAYOUTMENU_PATCH
  86. #include "bar_layoutmenu.c"
  87. #endif
  88. /* Other patches */
  89. #if ASPECTRESIZE_PATCH
  90. #include "aspectresize.c"
  91. #endif
  92. #if ATTACHABOVE_PATCH || ATTACHASIDE_PATCH || ATTACHBELOW_PATCH || ATTACHBOTTOM_PATCH
  93. #include "attachx.c"
  94. #endif
  95. #if AUTOSTART_PATCH
  96. #include "autostart.c"
  97. #endif
  98. #if CFACTS_PATCH
  99. #include "cfacts.c"
  100. #endif
  101. #if CMDCUSTOMIZE_PATCH
  102. #include "cmdcustomize.c"
  103. #endif
  104. #if COOL_AUTOSTART_PATCH
  105. #include "cool_autostart.c"
  106. #endif
  107. #if CYCLELAYOUTS_PATCH
  108. #include "cyclelayouts.c"
  109. #endif
  110. #if DECORATION_HINTS_PATCH
  111. #include "decorationhints.c"
  112. #endif
  113. #if DRAGCFACT_PATCH && CFACTS_PATCH
  114. #include "dragcfact.c"
  115. #endif
  116. #if DWMC_PATCH
  117. #include "dwmc.c"
  118. #elif FSIGNAL_PATCH
  119. #include "fsignal.c"
  120. #endif
  121. #if EXRESIZE_PATCH
  122. #include "exresize.c"
  123. #endif
  124. #if !FAKEFULLSCREEN_PATCH && FAKEFULLSCREEN_CLIENT_PATCH
  125. #include "fakefullscreenclient.c"
  126. #endif
  127. #if FLOATPOS_PATCH
  128. #include "floatpos.c"
  129. #endif
  130. #if FOCUSADJACENTTAG_PATCH
  131. #include "focusadjacenttag.c"
  132. #endif
  133. #if FOCUSDIR_PATCH
  134. #include "focusdir.c"
  135. #endif
  136. #if FOCUSMASTER_PATCH
  137. #include "focusmaster.c"
  138. #endif
  139. #if FOCUSURGENT_PATCH
  140. #include "focusurgent.c"
  141. #endif
  142. #if FULLSCREEN_PATCH
  143. #include "fullscreen.c"
  144. #endif
  145. #if INPLACEROTATE_PATCH
  146. #include "inplacerotate.c"
  147. #endif
  148. #if IPC_PATCH
  149. #include "ipc.c"
  150. #ifdef VERSION
  151. #include "ipc/IPCClient.c"
  152. #include "ipc/yajl_dumps.c"
  153. #include "ipc/ipc.c"
  154. #include "ipc/util.c"
  155. #endif
  156. #endif // IPC_PATCH
  157. #if INSETS_PATCH
  158. #include "insets.c"
  159. #endif
  160. #if KEYMODES_PATCH
  161. #include "keymodes.c"
  162. #endif
  163. #if KILLUNSEL_PATCH
  164. #include "killunsel.c"
  165. #endif
  166. #if MAXIMIZE_PATCH
  167. #include "maximize.c"
  168. #endif
  169. #if MPDCONTROL_PATCH
  170. #include "mpdcontrol.c"
  171. #endif
  172. #if MOVEPLACE_PATCH
  173. #include "moveplace.c"
  174. #endif
  175. #if MOVERESIZE_PATCH
  176. #include "moveresize.c"
  177. #endif
  178. #if MOVESTACK_PATCH
  179. #include "movestack.c"
  180. #endif
  181. #if NO_MOD_BUTTONS_PATCH
  182. #include "nomodbuttons.c"
  183. #endif
  184. #if PERTAG_PATCH
  185. #include "pertag.c"
  186. #endif
  187. #if PLACEMOUSE_PATCH
  188. #include "placemouse.c"
  189. #endif
  190. #if PUSH_NO_MASTER_PATCH
  191. #include "push_no_master.c"
  192. #elif PUSH_PATCH
  193. #include "push.c"
  194. #endif
  195. #if REORGANIZETAGS_PATCH
  196. #include "reorganizetags.c"
  197. #endif
  198. #if RESTARTSIG_PATCH
  199. #include "restartsig.c"
  200. #endif
  201. #if RIODRAW_PATCH
  202. #include "riodraw.c"
  203. #endif
  204. #if ROTATESTACK_PATCH
  205. #include "rotatestack.c"
  206. #endif
  207. #if ROUNDED_CORNERS_PATCH
  208. #include "roundedcorners.c"
  209. #endif
  210. #if SCRATCHPADS_PATCH
  211. #include "scratchpad.c"
  212. #endif
  213. #if SCRATCHPAD_ALT_1_PATCH
  214. #include "scratchpad_alt_1.c"
  215. #endif
  216. #if SELFRESTART_PATCH
  217. #include "selfrestart.c"
  218. #endif
  219. #if SETBORDERPX_PATCH
  220. #include "setborderpx.c"
  221. #endif
  222. #if SHIFTVIEW_PATCH
  223. #include "shiftview.c"
  224. #endif
  225. #if SHIFTVIEW_CLIENTS_PATCH
  226. #include "shiftviewclients.c"
  227. #endif
  228. #if SIZEHINTS_RULED_PATCH
  229. #include "sizehints_ruled.c"
  230. #endif
  231. #if SORTSCREENS_PATCH
  232. #ifdef XINERAMA
  233. #include "sortscreens.c"
  234. #endif // XINERAMA
  235. #endif
  236. #if STACKER_PATCH
  237. #include "stacker.c"
  238. #endif
  239. #if STICKY_PATCH
  240. #include "sticky.c"
  241. #endif
  242. #if SWALLOW_PATCH
  243. #include "swallow.c"
  244. #endif
  245. #if SWAPFOCUS_PATCH && PERTAG_PATCH
  246. #include "swapfocus.c"
  247. #endif
  248. #if SWAPTAGS_PATCH
  249. #include "swaptags.c"
  250. #endif
  251. #if SWITCHCOL_PATCH
  252. #include "switchcol.c"
  253. #endif
  254. #if TAGALL_PATCH
  255. #include "tagall.c"
  256. #endif
  257. #if TAGALLMON_PATCH
  258. #include "tagallmon.c"
  259. #endif
  260. #if TAGOTHERMONITOR_PATCH
  261. #include "tagothermonitor.c"
  262. #endif
  263. #if TAGSWAPMON_PATCH
  264. #include "tagswapmon.c"
  265. #endif
  266. #if TOGGLEFULLSCREEN_PATCH
  267. #include "togglefullscreen.c"
  268. #endif
  269. #if TRANSFER_PATCH
  270. #include "transfer.c"
  271. #endif
  272. #if TRANSFER_ALL_PATCH
  273. #include "transferall.c"
  274. #endif
  275. #if UNFLOATVISIBLE_PATCH
  276. #include "unfloatvisible.c"
  277. #endif
  278. #if VANITYGAPS_PATCH
  279. #include "vanitygaps.c"
  280. #endif
  281. #if WARP_PATCH
  282. #include "warp.c"
  283. #endif
  284. #if WINVIEW_PATCH
  285. #include "winview.c"
  286. #endif
  287. #if ZOOMSWAP_PATCH
  288. #include "zoomswap.c"
  289. #endif
  290. #if XRDB_PATCH && !BAR_VTCOLORS_PATCH
  291. #include "xrdb.c"
  292. #endif
  293. #if DRAGMFACT_PATCH
  294. #include "dragmfact.c"
  295. #endif
  296. /* Layouts */
  297. #if BSTACK_LAYOUT || BSTACKHORIZ_LAYOUT || CENTEREDMASTER_LAYOUT || CENTEREDFLOATINGMASTER_LAYOUT || COLUMNS_LAYOUT || DECK_LAYOUT || TILE_LAYOUT
  298. #include "layout_facts.c"
  299. #endif
  300. #if BSTACK_LAYOUT
  301. #include "layout_bstack.c"
  302. #endif
  303. #if BSTACKHORIZ_LAYOUT
  304. #include "layout_bstackhoriz.c"
  305. #endif
  306. #if CENTEREDMASTER_LAYOUT
  307. #include "layout_centeredmaster.c"
  308. #endif
  309. #if CENTEREDFLOATINGMASTER_LAYOUT
  310. #include "layout_centeredfloatingmaster.c"
  311. #endif
  312. #if COLUMNS_LAYOUT
  313. #include "layout_columns.c"
  314. #endif
  315. #if DECK_LAYOUT
  316. #include "layout_deck.c"
  317. #endif
  318. #if FIBONACCI_DWINDLE_LAYOUT || FIBONACCI_SPIRAL_LAYOUT
  319. #include "layout_fibonacci.c"
  320. #endif
  321. #if FLEXTILE_DELUXE_LAYOUT
  322. #include "layout_flextile-deluxe.c"
  323. #endif
  324. #if GAPPLESSGRID_LAYOUT
  325. #include "layout_gapplessgrid.c"
  326. #endif
  327. #if GRIDMODE_LAYOUT
  328. #include "layout_grid.c"
  329. #endif
  330. #if HORIZGRID_LAYOUT
  331. #include "layout_horizgrid.c"
  332. #endif
  333. #if MONOCLE_LAYOUT
  334. #include "layout_monocle.c"
  335. #endif
  336. #if NROWGRID_LAYOUT
  337. #include "layout_nrowgrid.c"
  338. #endif
  339. #if TILE_LAYOUT
  340. #include "layout_tile.c"
  341. #endif