2022-12-03 15:25:31 +01:00
|
|
|
/* Bar rules allow you to configure what is shown where on the bar, as well as
|
|
|
|
* introducing your own bar modules.
|
|
|
|
*
|
|
|
|
* monitor:
|
|
|
|
* -1 show on all monitors
|
|
|
|
* 0 show on monitor 0
|
|
|
|
* 'A' show on active monitor (i.e. focused / selected) (or just -1 for active?)
|
|
|
|
* bar - bar index, 0 is default, 1 is extrabar
|
|
|
|
* alignment - how the module is aligned compared to other modules
|
|
|
|
* widthfunc, drawfunc, clickfunc - providing bar module width, draw and click functions
|
|
|
|
* name - does nothing, intended for visual clue and for logging / debugging
|
|
|
|
*/
|
|
|
|
static const BarRule barrules[] = {
|
2022-12-03 22:17:48 +01:00
|
|
|
/* monitor bar alignment width function draw function click function name */
|
2022-12-04 19:29:59 +01:00
|
|
|
{ -1, 0, bar_align_left, width_ltsymbol, draw_ltsymbol, click_ltsymbol, "layout" },
|
2022-12-05 17:30:52 +01:00
|
|
|
//{ -1, 0, bar_align_left, width_tags, draw_tags, click_tags, "tags" },
|
|
|
|
{ -1, 0, bar_align_left, width_tags_pwl, draw_tags_pwl, click_tags_pwl, "powerline tags" },
|
2022-12-04 19:29:59 +01:00
|
|
|
{ 'A', 0, bar_align_right, width_systray, draw_systray, click_systray, "systray" },
|
|
|
|
//{ 'A', 0, bar_align_right, width_status_basic, draw_status_basic, click_status_basic, "basic status" },
|
2022-12-05 20:06:09 +01:00
|
|
|
//{ 'A', 0, bar_align_right, width_status, draw_status, click_status, "clickable and colored status" },
|
|
|
|
{ 'A', 0, bar_align_right, width_status_pwl, draw_status_pwl, click_status_pwl, "powerline status" },
|
2022-12-04 19:29:59 +01:00
|
|
|
//{ -1, 0, bar_align_none, width_title_basic, draw_title_basic, click_title_basic, "basic title" },
|
|
|
|
{ -1, 0, bar_align_none, width_title, draw_title, click_title, "title" },
|
2022-12-03 15:25:31 +01:00
|
|
|
};
|