Fix missing line in barrules
This commit is contained in:
153
README.org
153
README.org
@@ -4043,82 +4043,83 @@ name - does nothing, intended for visual clue and for logging / debugging
|
|||||||
|
|
||||||
#+BEGIN_SRC c :tangle config.def.h
|
#+BEGIN_SRC c :tangle config.def.h
|
||||||
static const BarRule barrules[] = {
|
static const BarRule barrules[] = {
|
||||||
/* monitor bar alignment widthfunc drawfunc clickfunc name */
|
/* monitor bar alignment widthfunc drawfunc clickfunc name */
|
||||||
#if BAR_STATUSBUTTON_PATCH
|
{ -2 },
|
||||||
{ -1, 0, BAR_ALIGN_LEFT, width_stbutton, draw_stbutton, click_stbutton, "statusbutton" },
|
#if BAR_STATUSBUTTON_PATCH
|
||||||
#endif // BAR_STATUSBUTTON_PATCH
|
{ -1, 0, BAR_ALIGN_LEFT, width_stbutton, draw_stbutton, click_stbutton, "statusbutton" },
|
||||||
#if BAR_POWERLINE_TAGS_PATCH
|
#endif // BAR_STATUSBUTTON_PATCH
|
||||||
{ 0, 0, BAR_ALIGN_LEFT, width_pwrl_tags, draw_pwrl_tags, click_pwrl_tags, "powerline_tags" },
|
#if BAR_POWERLINE_TAGS_PATCH
|
||||||
#endif // BAR_POWERLINE_TAGS_PATCH
|
{ 0, 0, BAR_ALIGN_LEFT, width_pwrl_tags, draw_pwrl_tags, click_pwrl_tags, "powerline_tags" },
|
||||||
#if BAR_TAGS_PATCH
|
#endif // BAR_POWERLINE_TAGS_PATCH
|
||||||
{ -1, 0, BAR_ALIGN_LEFT, width_tags, draw_tags, click_tags, "tags" },
|
#if BAR_TAGS_PATCH
|
||||||
#endif // BAR_TAGS_PATCH
|
{ -1, 0, BAR_ALIGN_LEFT, width_tags, draw_tags, click_tags, "tags" },
|
||||||
#if BAR_TAGLABELS_PATCH
|
#endif // BAR_TAGS_PATCH
|
||||||
{ -1, 0, BAR_ALIGN_LEFT, width_taglabels, draw_taglabels, click_taglabels, "taglabels" },
|
#if BAR_TAGLABELS_PATCH
|
||||||
#endif // BAR_TAGLABELS_PATCH
|
{ -1, 0, BAR_ALIGN_LEFT, width_taglabels, draw_taglabels, click_taglabels, "taglabels" },
|
||||||
#if BAR_TAGGRID_PATCH
|
#endif // BAR_TAGLABELS_PATCH
|
||||||
{ -1, 0, BAR_ALIGN_LEFT, width_taggrid, draw_taggrid, click_taggrid, "taggrid" },
|
#if BAR_TAGGRID_PATCH
|
||||||
#endif // BAR_TAGGRID_PATCH
|
{ -1, 0, BAR_ALIGN_LEFT, width_taggrid, draw_taggrid, click_taggrid, "taggrid" },
|
||||||
#if BAR_SYSTRAY_PATCH
|
#endif // BAR_TAGGRID_PATCH
|
||||||
{ 0, 0, BAR_ALIGN_RIGHT, width_systray, draw_systray, click_systray, "systray" },
|
#if BAR_SYSTRAY_PATCH
|
||||||
#endif // BAR_SYSTRAY_PATCH
|
{ 0, 0, BAR_ALIGN_RIGHT, width_systray, draw_systray, click_systray, "systray" },
|
||||||
#if BAR_LTSYMBOL_PATCH
|
#endif // BAR_SYSTRAY_PATCH
|
||||||
{ -1, 0, BAR_ALIGN_LEFT, width_ltsymbol, draw_ltsymbol, click_ltsymbol, "layout" },
|
#if BAR_LTSYMBOL_PATCH
|
||||||
#endif // BAR_LTSYMBOL_PATCH
|
{ -1, 0, BAR_ALIGN_LEFT, width_ltsymbol, draw_ltsymbol, click_ltsymbol, "layout" },
|
||||||
#if BAR_STATUSCOLORS_PATCH && BAR_STATUSCMD_PATCH
|
#endif // BAR_LTSYMBOL_PATCH
|
||||||
{ statusmon, 0, BAR_ALIGN_RIGHT, width_statuscolors, draw_statuscolors, click_statuscmd, "statuscolors" },
|
#if BAR_STATUSCOLORS_PATCH && BAR_STATUSCMD_PATCH
|
||||||
#elif BAR_STATUSCOLORS_PATCH
|
{ statusmon, 0, BAR_ALIGN_RIGHT, width_statuscolors, draw_statuscolors, click_statuscmd, "statuscolors" },
|
||||||
{ statusmon, 0, BAR_ALIGN_RIGHT, width_statuscolors, draw_statuscolors, click_statuscolors, "statuscolors" },
|
#elif BAR_STATUSCOLORS_PATCH
|
||||||
#elif BAR_STATUS2D_PATCH && BAR_STATUSCMD_PATCH
|
{ statusmon, 0, BAR_ALIGN_RIGHT, width_statuscolors, draw_statuscolors, click_statuscolors, "statuscolors" },
|
||||||
{ statusmon, 0, BAR_ALIGN_RIGHT, width_status2d, draw_status2d, click_statuscmd, "status2d" },
|
#elif BAR_STATUS2D_PATCH && BAR_STATUSCMD_PATCH
|
||||||
#elif BAR_STATUS2D_PATCH
|
{ statusmon, 0, BAR_ALIGN_RIGHT, width_status2d, draw_status2d, click_statuscmd, "status2d" },
|
||||||
{ statusmon, 0, BAR_ALIGN_RIGHT, width_status2d, draw_status2d, click_status2d, "status2d" },
|
#elif BAR_STATUS2D_PATCH
|
||||||
#elif BAR_POWERLINE_STATUS_PATCH
|
{ statusmon, 0, BAR_ALIGN_RIGHT, width_status2d, draw_status2d, click_status2d, "status2d" },
|
||||||
{ statusmon, 0, BAR_ALIGN_RIGHT, width_pwrl_status, draw_pwrl_status, click_pwrl_status, "powerline_status" },
|
#elif BAR_POWERLINE_STATUS_PATCH
|
||||||
#elif BAR_STATUS_PATCH && BAR_STATUSCMD_PATCH
|
{ statusmon, 0, BAR_ALIGN_RIGHT, width_pwrl_status, draw_pwrl_status, click_pwrl_status, "powerline_status" },
|
||||||
{ statusmon, 0, BAR_ALIGN_RIGHT, width_status, draw_status, click_statuscmd, "status" },
|
#elif BAR_STATUS_PATCH && BAR_STATUSCMD_PATCH
|
||||||
#elif BAR_STATUS_PATCH
|
{ statusmon, 0, BAR_ALIGN_RIGHT, width_status, draw_status, click_statuscmd, "status" },
|
||||||
{ statusmon, 0, BAR_ALIGN_RIGHT, width_status, draw_status, click_status, "status" },
|
#elif BAR_STATUS_PATCH
|
||||||
#endif // BAR_STATUS2D_PATCH | BAR_STATUSCMD_PATCH
|
{ statusmon, 0, BAR_ALIGN_RIGHT, width_status, draw_status, click_status, "status" },
|
||||||
#if XKB_PATCH
|
#endif // BAR_STATUS2D_PATCH | BAR_STATUSCMD_PATCH
|
||||||
{ 0, 0, BAR_ALIGN_RIGHT, width_xkb, draw_xkb, click_xkb, "xkb" },
|
#if XKB_PATCH
|
||||||
#endif // XKB_PATCH
|
{ 0, 0, BAR_ALIGN_RIGHT, width_xkb, draw_xkb, click_xkb, "xkb" },
|
||||||
#if BAR_FLEXWINTITLE_PATCH
|
#endif // XKB_PATCH
|
||||||
{ -1, 0, BAR_ALIGN_NONE, width_flexwintitle, draw_flexwintitle, click_flexwintitle, "flexwintitle" },
|
#if BAR_FLEXWINTITLE_PATCH
|
||||||
#elif BAR_TABGROUPS_PATCH
|
{ -1, 0, BAR_ALIGN_NONE, width_flexwintitle, draw_flexwintitle, click_flexwintitle, "flexwintitle" },
|
||||||
{ -1, 0, BAR_ALIGN_NONE, width_bartabgroups, draw_bartabgroups, click_bartabgroups, "bartabgroups" },
|
#elif BAR_TABGROUPS_PATCH
|
||||||
#elif BAR_AWESOMEBAR_PATCH
|
{ -1, 0, BAR_ALIGN_NONE, width_bartabgroups, draw_bartabgroups, click_bartabgroups, "bartabgroups" },
|
||||||
{ -1, 0, BAR_ALIGN_NONE, width_awesomebar, draw_awesomebar, click_awesomebar, "awesomebar" },
|
#elif BAR_AWESOMEBAR_PATCH
|
||||||
#elif BAR_FANCYBAR_PATCH
|
{ -1, 0, BAR_ALIGN_NONE, width_awesomebar, draw_awesomebar, click_awesomebar, "awesomebar" },
|
||||||
{ -1, 0, BAR_ALIGN_NONE, width_fancybar, draw_fancybar, click_fancybar, "fancybar" },
|
#elif BAR_FANCYBAR_PATCH
|
||||||
#elif BAR_WINTITLE_PATCH
|
{ -1, 0, BAR_ALIGN_NONE, width_fancybar, draw_fancybar, click_fancybar, "fancybar" },
|
||||||
{ -1, 0, BAR_ALIGN_NONE, width_wintitle, draw_wintitle, click_wintitle, "wintitle" },
|
#elif BAR_WINTITLE_PATCH
|
||||||
#endif // BAR_TABGROUPS_PATCH | BAR_AWESOMEBAR_PATCH | BAR_FANCYBAR_PATCH | BAR_WINTITLE_PATCH
|
{ -1, 0, BAR_ALIGN_NONE, width_wintitle, draw_wintitle, click_wintitle, "wintitle" },
|
||||||
#if BAR_EXTRASTATUS_PATCH
|
#endif // BAR_TABGROUPS_PATCH | BAR_AWESOMEBAR_PATCH | BAR_FANCYBAR_PATCH | BAR_WINTITLE_PATCH
|
||||||
#if BAR_STATUSCOLORS_PATCH && BAR_STATUSCMD_PATCH
|
#if BAR_EXTRASTATUS_PATCH
|
||||||
{ statusmon, 1, BAR_ALIGN_CENTER, width_statuscolors_es, draw_statuscolors_es, click_statuscmd_es, "statuscolors_es" },
|
#if BAR_STATUSCOLORS_PATCH && BAR_STATUSCMD_PATCH
|
||||||
#elif BAR_STATUSCOLORS_PATCH
|
{ statusmon, 1, BAR_ALIGN_CENTER, width_statuscolors_es, draw_statuscolors_es, click_statuscmd_es, "statuscolors_es" },
|
||||||
{ statusmon, 1, BAR_ALIGN_CENTER, width_statuscolors_es, draw_statuscolors_es, click_statuscolors, "statuscolors_es" },
|
#elif BAR_STATUSCOLORS_PATCH
|
||||||
#elif BAR_STATUS2D_PATCH && BAR_STATUSCMD_PATCH
|
{ statusmon, 1, BAR_ALIGN_CENTER, width_statuscolors_es, draw_statuscolors_es, click_statuscolors, "statuscolors_es" },
|
||||||
{ statusmon, 1, BAR_ALIGN_CENTER, width_status2d_es, draw_status2d_es, click_statuscmd_es, "status2d_es" },
|
#elif BAR_STATUS2D_PATCH && BAR_STATUSCMD_PATCH
|
||||||
#elif BAR_STATUS2D_PATCH
|
{ statusmon, 1, BAR_ALIGN_CENTER, width_status2d_es, draw_status2d_es, click_statuscmd_es, "status2d_es" },
|
||||||
{ statusmon, 1, BAR_ALIGN_CENTER, width_status2d_es, draw_status2d_es, click_status2d, "status2d_es" },
|
#elif BAR_STATUS2D_PATCH
|
||||||
#elif BAR_POWERLINE_STATUS_PATCH
|
{ statusmon, 1, BAR_ALIGN_CENTER, width_status2d_es, draw_status2d_es, click_status2d, "status2d_es" },
|
||||||
{ statusmon, 1, BAR_ALIGN_RIGHT, width_pwrl_status_es, draw_pwrl_status_es, click_pwrl_status, "powerline_status" },
|
#elif BAR_POWERLINE_STATUS_PATCH
|
||||||
#elif BAR_STATUSCMD_PATCH && BAR_STATUS_PATCH
|
{ statusmon, 1, BAR_ALIGN_RIGHT, width_pwrl_status_es, draw_pwrl_status_es, click_pwrl_status, "powerline_status" },
|
||||||
{ statusmon, 1, BAR_ALIGN_CENTER, width_status_es, draw_status_es, click_statuscmd_es, "status_es" },
|
#elif BAR_STATUSCMD_PATCH && BAR_STATUS_PATCH
|
||||||
#elif BAR_STATUS_PATCH
|
{ statusmon, 1, BAR_ALIGN_CENTER, width_status_es, draw_status_es, click_statuscmd_es, "status_es" },
|
||||||
{ statusmon, 1, BAR_ALIGN_CENTER, width_status_es, draw_status_es, click_status, "status_es" },
|
#elif BAR_STATUS_PATCH
|
||||||
#endif // BAR_STATUS2D_PATCH | BAR_STATUSCMD_PATCH
|
{ statusmon, 1, BAR_ALIGN_CENTER, width_status_es, draw_status_es, click_status, "status_es" },
|
||||||
#endif // BAR_EXTRASTATUS_PATCH
|
#endif // BAR_STATUS2D_PATCH | BAR_STATUSCMD_PATCH
|
||||||
#if BAR_FLEXWINTITLE_PATCH
|
#endif // BAR_EXTRASTATUS_PATCH
|
||||||
#if BAR_WINTITLE_HIDDEN_PATCH
|
#if BAR_FLEXWINTITLE_PATCH
|
||||||
{ -1, 1, BAR_ALIGN_RIGHT_RIGHT, width_wintitle_hidden, draw_wintitle_hidden, click_wintitle_hidden, "wintitle_hidden" },
|
#if BAR_WINTITLE_HIDDEN_PATCH
|
||||||
#endif
|
{ -1, 1, BAR_ALIGN_RIGHT_RIGHT, width_wintitle_hidden, draw_wintitle_hidden, click_wintitle_hidden, "wintitle_hidden" },
|
||||||
#if BAR_WINTITLE_FLOATING_PATCH
|
#endif
|
||||||
{ -1, 1, BAR_ALIGN_LEFT, width_wintitle_floating, draw_wintitle_floating, click_wintitle_floating, "wintitle_floating" },
|
#if BAR_WINTITLE_FLOATING_PATCH
|
||||||
#endif // BAR_WINTITLE_FLOATING_PATCH
|
{ -1, 1, BAR_ALIGN_LEFT, width_wintitle_floating, draw_wintitle_floating, click_wintitle_floating, "wintitle_floating" },
|
||||||
#endif // BAR_FLEXWINTITLE_PATCH
|
#endif // BAR_WINTITLE_FLOATING_PATCH
|
||||||
|
#endif // BAR_FLEXWINTITLE_PATCH
|
||||||
};
|
};
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
153
config.def.h
153
config.def.h
@@ -463,82 +463,83 @@ static const Inset default_inset = {
|
|||||||
#endif // INSETS_PATCH
|
#endif // INSETS_PATCH
|
||||||
|
|
||||||
static const BarRule barrules[] = {
|
static const BarRule barrules[] = {
|
||||||
/* monitor bar alignment widthfunc drawfunc clickfunc name */
|
/* monitor bar alignment widthfunc drawfunc clickfunc name */
|
||||||
#if BAR_STATUSBUTTON_PATCH
|
{ -2 },
|
||||||
{ -1, 0, BAR_ALIGN_LEFT, width_stbutton, draw_stbutton, click_stbutton, "statusbutton" },
|
#if BAR_STATUSBUTTON_PATCH
|
||||||
#endif // BAR_STATUSBUTTON_PATCH
|
{ -1, 0, BAR_ALIGN_LEFT, width_stbutton, draw_stbutton, click_stbutton, "statusbutton" },
|
||||||
#if BAR_POWERLINE_TAGS_PATCH
|
#endif // BAR_STATUSBUTTON_PATCH
|
||||||
{ 0, 0, BAR_ALIGN_LEFT, width_pwrl_tags, draw_pwrl_tags, click_pwrl_tags, "powerline_tags" },
|
#if BAR_POWERLINE_TAGS_PATCH
|
||||||
#endif // BAR_POWERLINE_TAGS_PATCH
|
{ 0, 0, BAR_ALIGN_LEFT, width_pwrl_tags, draw_pwrl_tags, click_pwrl_tags, "powerline_tags" },
|
||||||
#if BAR_TAGS_PATCH
|
#endif // BAR_POWERLINE_TAGS_PATCH
|
||||||
{ -1, 0, BAR_ALIGN_LEFT, width_tags, draw_tags, click_tags, "tags" },
|
#if BAR_TAGS_PATCH
|
||||||
#endif // BAR_TAGS_PATCH
|
{ -1, 0, BAR_ALIGN_LEFT, width_tags, draw_tags, click_tags, "tags" },
|
||||||
#if BAR_TAGLABELS_PATCH
|
#endif // BAR_TAGS_PATCH
|
||||||
{ -1, 0, BAR_ALIGN_LEFT, width_taglabels, draw_taglabels, click_taglabels, "taglabels" },
|
#if BAR_TAGLABELS_PATCH
|
||||||
#endif // BAR_TAGLABELS_PATCH
|
{ -1, 0, BAR_ALIGN_LEFT, width_taglabels, draw_taglabels, click_taglabels, "taglabels" },
|
||||||
#if BAR_TAGGRID_PATCH
|
#endif // BAR_TAGLABELS_PATCH
|
||||||
{ -1, 0, BAR_ALIGN_LEFT, width_taggrid, draw_taggrid, click_taggrid, "taggrid" },
|
#if BAR_TAGGRID_PATCH
|
||||||
#endif // BAR_TAGGRID_PATCH
|
{ -1, 0, BAR_ALIGN_LEFT, width_taggrid, draw_taggrid, click_taggrid, "taggrid" },
|
||||||
#if BAR_SYSTRAY_PATCH
|
#endif // BAR_TAGGRID_PATCH
|
||||||
{ 0, 0, BAR_ALIGN_RIGHT, width_systray, draw_systray, click_systray, "systray" },
|
#if BAR_SYSTRAY_PATCH
|
||||||
#endif // BAR_SYSTRAY_PATCH
|
{ 0, 0, BAR_ALIGN_RIGHT, width_systray, draw_systray, click_systray, "systray" },
|
||||||
#if BAR_LTSYMBOL_PATCH
|
#endif // BAR_SYSTRAY_PATCH
|
||||||
{ -1, 0, BAR_ALIGN_LEFT, width_ltsymbol, draw_ltsymbol, click_ltsymbol, "layout" },
|
#if BAR_LTSYMBOL_PATCH
|
||||||
#endif // BAR_LTSYMBOL_PATCH
|
{ -1, 0, BAR_ALIGN_LEFT, width_ltsymbol, draw_ltsymbol, click_ltsymbol, "layout" },
|
||||||
#if BAR_STATUSCOLORS_PATCH && BAR_STATUSCMD_PATCH
|
#endif // BAR_LTSYMBOL_PATCH
|
||||||
{ statusmon, 0, BAR_ALIGN_RIGHT, width_statuscolors, draw_statuscolors, click_statuscmd, "statuscolors" },
|
#if BAR_STATUSCOLORS_PATCH && BAR_STATUSCMD_PATCH
|
||||||
#elif BAR_STATUSCOLORS_PATCH
|
{ statusmon, 0, BAR_ALIGN_RIGHT, width_statuscolors, draw_statuscolors, click_statuscmd, "statuscolors" },
|
||||||
{ statusmon, 0, BAR_ALIGN_RIGHT, width_statuscolors, draw_statuscolors, click_statuscolors, "statuscolors" },
|
#elif BAR_STATUSCOLORS_PATCH
|
||||||
#elif BAR_STATUS2D_PATCH && BAR_STATUSCMD_PATCH
|
{ statusmon, 0, BAR_ALIGN_RIGHT, width_statuscolors, draw_statuscolors, click_statuscolors, "statuscolors" },
|
||||||
{ statusmon, 0, BAR_ALIGN_RIGHT, width_status2d, draw_status2d, click_statuscmd, "status2d" },
|
#elif BAR_STATUS2D_PATCH && BAR_STATUSCMD_PATCH
|
||||||
#elif BAR_STATUS2D_PATCH
|
{ statusmon, 0, BAR_ALIGN_RIGHT, width_status2d, draw_status2d, click_statuscmd, "status2d" },
|
||||||
{ statusmon, 0, BAR_ALIGN_RIGHT, width_status2d, draw_status2d, click_status2d, "status2d" },
|
#elif BAR_STATUS2D_PATCH
|
||||||
#elif BAR_POWERLINE_STATUS_PATCH
|
{ statusmon, 0, BAR_ALIGN_RIGHT, width_status2d, draw_status2d, click_status2d, "status2d" },
|
||||||
{ statusmon, 0, BAR_ALIGN_RIGHT, width_pwrl_status, draw_pwrl_status, click_pwrl_status, "powerline_status" },
|
#elif BAR_POWERLINE_STATUS_PATCH
|
||||||
#elif BAR_STATUS_PATCH && BAR_STATUSCMD_PATCH
|
{ statusmon, 0, BAR_ALIGN_RIGHT, width_pwrl_status, draw_pwrl_status, click_pwrl_status, "powerline_status" },
|
||||||
{ statusmon, 0, BAR_ALIGN_RIGHT, width_status, draw_status, click_statuscmd, "status" },
|
#elif BAR_STATUS_PATCH && BAR_STATUSCMD_PATCH
|
||||||
#elif BAR_STATUS_PATCH
|
{ statusmon, 0, BAR_ALIGN_RIGHT, width_status, draw_status, click_statuscmd, "status" },
|
||||||
{ statusmon, 0, BAR_ALIGN_RIGHT, width_status, draw_status, click_status, "status" },
|
#elif BAR_STATUS_PATCH
|
||||||
#endif // BAR_STATUS2D_PATCH | BAR_STATUSCMD_PATCH
|
{ statusmon, 0, BAR_ALIGN_RIGHT, width_status, draw_status, click_status, "status" },
|
||||||
#if XKB_PATCH
|
#endif // BAR_STATUS2D_PATCH | BAR_STATUSCMD_PATCH
|
||||||
{ 0, 0, BAR_ALIGN_RIGHT, width_xkb, draw_xkb, click_xkb, "xkb" },
|
#if XKB_PATCH
|
||||||
#endif // XKB_PATCH
|
{ 0, 0, BAR_ALIGN_RIGHT, width_xkb, draw_xkb, click_xkb, "xkb" },
|
||||||
#if BAR_FLEXWINTITLE_PATCH
|
#endif // XKB_PATCH
|
||||||
{ -1, 0, BAR_ALIGN_NONE, width_flexwintitle, draw_flexwintitle, click_flexwintitle, "flexwintitle" },
|
#if BAR_FLEXWINTITLE_PATCH
|
||||||
#elif BAR_TABGROUPS_PATCH
|
{ -1, 0, BAR_ALIGN_NONE, width_flexwintitle, draw_flexwintitle, click_flexwintitle, "flexwintitle" },
|
||||||
{ -1, 0, BAR_ALIGN_NONE, width_bartabgroups, draw_bartabgroups, click_bartabgroups, "bartabgroups" },
|
#elif BAR_TABGROUPS_PATCH
|
||||||
#elif BAR_AWESOMEBAR_PATCH
|
{ -1, 0, BAR_ALIGN_NONE, width_bartabgroups, draw_bartabgroups, click_bartabgroups, "bartabgroups" },
|
||||||
{ -1, 0, BAR_ALIGN_NONE, width_awesomebar, draw_awesomebar, click_awesomebar, "awesomebar" },
|
#elif BAR_AWESOMEBAR_PATCH
|
||||||
#elif BAR_FANCYBAR_PATCH
|
{ -1, 0, BAR_ALIGN_NONE, width_awesomebar, draw_awesomebar, click_awesomebar, "awesomebar" },
|
||||||
{ -1, 0, BAR_ALIGN_NONE, width_fancybar, draw_fancybar, click_fancybar, "fancybar" },
|
#elif BAR_FANCYBAR_PATCH
|
||||||
#elif BAR_WINTITLE_PATCH
|
{ -1, 0, BAR_ALIGN_NONE, width_fancybar, draw_fancybar, click_fancybar, "fancybar" },
|
||||||
{ -1, 0, BAR_ALIGN_NONE, width_wintitle, draw_wintitle, click_wintitle, "wintitle" },
|
#elif BAR_WINTITLE_PATCH
|
||||||
#endif // BAR_TABGROUPS_PATCH | BAR_AWESOMEBAR_PATCH | BAR_FANCYBAR_PATCH | BAR_WINTITLE_PATCH
|
{ -1, 0, BAR_ALIGN_NONE, width_wintitle, draw_wintitle, click_wintitle, "wintitle" },
|
||||||
#if BAR_EXTRASTATUS_PATCH
|
#endif // BAR_TABGROUPS_PATCH | BAR_AWESOMEBAR_PATCH | BAR_FANCYBAR_PATCH | BAR_WINTITLE_PATCH
|
||||||
#if BAR_STATUSCOLORS_PATCH && BAR_STATUSCMD_PATCH
|
#if BAR_EXTRASTATUS_PATCH
|
||||||
{ statusmon, 1, BAR_ALIGN_CENTER, width_statuscolors_es, draw_statuscolors_es, click_statuscmd_es, "statuscolors_es" },
|
#if BAR_STATUSCOLORS_PATCH && BAR_STATUSCMD_PATCH
|
||||||
#elif BAR_STATUSCOLORS_PATCH
|
{ statusmon, 1, BAR_ALIGN_CENTER, width_statuscolors_es, draw_statuscolors_es, click_statuscmd_es, "statuscolors_es" },
|
||||||
{ statusmon, 1, BAR_ALIGN_CENTER, width_statuscolors_es, draw_statuscolors_es, click_statuscolors, "statuscolors_es" },
|
#elif BAR_STATUSCOLORS_PATCH
|
||||||
#elif BAR_STATUS2D_PATCH && BAR_STATUSCMD_PATCH
|
{ statusmon, 1, BAR_ALIGN_CENTER, width_statuscolors_es, draw_statuscolors_es, click_statuscolors, "statuscolors_es" },
|
||||||
{ statusmon, 1, BAR_ALIGN_CENTER, width_status2d_es, draw_status2d_es, click_statuscmd_es, "status2d_es" },
|
#elif BAR_STATUS2D_PATCH && BAR_STATUSCMD_PATCH
|
||||||
#elif BAR_STATUS2D_PATCH
|
{ statusmon, 1, BAR_ALIGN_CENTER, width_status2d_es, draw_status2d_es, click_statuscmd_es, "status2d_es" },
|
||||||
{ statusmon, 1, BAR_ALIGN_CENTER, width_status2d_es, draw_status2d_es, click_status2d, "status2d_es" },
|
#elif BAR_STATUS2D_PATCH
|
||||||
#elif BAR_POWERLINE_STATUS_PATCH
|
{ statusmon, 1, BAR_ALIGN_CENTER, width_status2d_es, draw_status2d_es, click_status2d, "status2d_es" },
|
||||||
{ statusmon, 1, BAR_ALIGN_RIGHT, width_pwrl_status_es, draw_pwrl_status_es, click_pwrl_status, "powerline_status" },
|
#elif BAR_POWERLINE_STATUS_PATCH
|
||||||
#elif BAR_STATUSCMD_PATCH && BAR_STATUS_PATCH
|
{ statusmon, 1, BAR_ALIGN_RIGHT, width_pwrl_status_es, draw_pwrl_status_es, click_pwrl_status, "powerline_status" },
|
||||||
{ statusmon, 1, BAR_ALIGN_CENTER, width_status_es, draw_status_es, click_statuscmd_es, "status_es" },
|
#elif BAR_STATUSCMD_PATCH && BAR_STATUS_PATCH
|
||||||
#elif BAR_STATUS_PATCH
|
{ statusmon, 1, BAR_ALIGN_CENTER, width_status_es, draw_status_es, click_statuscmd_es, "status_es" },
|
||||||
{ statusmon, 1, BAR_ALIGN_CENTER, width_status_es, draw_status_es, click_status, "status_es" },
|
#elif BAR_STATUS_PATCH
|
||||||
#endif // BAR_STATUS2D_PATCH | BAR_STATUSCMD_PATCH
|
{ statusmon, 1, BAR_ALIGN_CENTER, width_status_es, draw_status_es, click_status, "status_es" },
|
||||||
#endif // BAR_EXTRASTATUS_PATCH
|
#endif // BAR_STATUS2D_PATCH | BAR_STATUSCMD_PATCH
|
||||||
#if BAR_FLEXWINTITLE_PATCH
|
#endif // BAR_EXTRASTATUS_PATCH
|
||||||
#if BAR_WINTITLE_HIDDEN_PATCH
|
#if BAR_FLEXWINTITLE_PATCH
|
||||||
{ -1, 1, BAR_ALIGN_RIGHT_RIGHT, width_wintitle_hidden, draw_wintitle_hidden, click_wintitle_hidden, "wintitle_hidden" },
|
#if BAR_WINTITLE_HIDDEN_PATCH
|
||||||
#endif
|
{ -1, 1, BAR_ALIGN_RIGHT_RIGHT, width_wintitle_hidden, draw_wintitle_hidden, click_wintitle_hidden, "wintitle_hidden" },
|
||||||
#if BAR_WINTITLE_FLOATING_PATCH
|
#endif
|
||||||
{ -1, 1, BAR_ALIGN_LEFT, width_wintitle_floating, draw_wintitle_floating, click_wintitle_floating, "wintitle_floating" },
|
#if BAR_WINTITLE_FLOATING_PATCH
|
||||||
#endif // BAR_WINTITLE_FLOATING_PATCH
|
{ -1, 1, BAR_ALIGN_LEFT, width_wintitle_floating, draw_wintitle_floating, click_wintitle_floating, "wintitle_floating" },
|
||||||
#endif // BAR_FLEXWINTITLE_PATCH
|
#endif // BAR_WINTITLE_FLOATING_PATCH
|
||||||
|
#endif // BAR_FLEXWINTITLE_PATCH
|
||||||
};
|
};
|
||||||
|
|
||||||
static const float mfact = 0.50; /* factor of master area size [0.05..0.95] */
|
static const float mfact = 0.50; /* factor of master area size [0.05..0.95] */
|
||||||
|
Reference in New Issue
Block a user