dwm

Kris's build of dwm
git clone git clone https://git.krisyotam.com/krisyotam/dwm.git
Log | Files | Refs | README | LICENSE

include.c (8194B)


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