show status on all mons

This commit is contained in:
speedie 2022-12-19 15:43:25 +01:00
parent f8a7f63c21
commit e4671e7030

8
bar.h
View file

@ -22,13 +22,13 @@
* bar_align_right_right: Force the module to be placed on the right side of the bar next to the center split. * bar_align_right_right: Force the module to be placed on the right side of the bar next to the center split.
* bar_align_right_center: Force the module to be placed on the center in the middle of the remaining space left of the center split on the right. * bar_align_right_center: Force the module to be placed on the center in the middle of the remaining space left of the center split on the right.
* bar_align_right_none: No specific alignment. This will give the module the remaining space. * bar_align_right_none: No specific alignment. This will give the module the remaining space.
* *
* Width: * Width:
* Function to run when getting the width of the module. * Function to run when getting the width of the module.
* *
* Syntax: width_<module> * Syntax: width_<module>
* Example: width_tags_pwl * Example: width_tags_pwl
* *
* Draw * Draw
* Function to run when drawing the module. * Function to run when drawing the module.
* *
@ -64,6 +64,6 @@ static const BarRule barrules[] = {
{ -1, 0, bar_align_left, width_ltsymbol, draw_ltsymbol, click_ltsymbol, "layout" }, { -1, 0, bar_align_left, width_ltsymbol, draw_ltsymbol, click_ltsymbol, "layout" },
{ -1, 0, bar_align_left, width_tags_pwl, draw_tags_pwl, click_tags_pwl, "powerline tags" }, { -1, 0, bar_align_left, width_tags_pwl, draw_tags_pwl, click_tags_pwl, "powerline tags" },
{ 'A', 0, bar_align_right, width_systray, draw_systray, click_systray, "systray" }, { 'A', 0, bar_align_right, width_systray, draw_systray, click_systray, "systray" },
{ 'A', 0, bar_align_right, width_status_pwl, draw_status_pwl, click_status_pwl, "powerline status" }, { -1, 0, bar_align_right, width_status_pwl, draw_status_pwl, click_status_pwl, "powerline status" },
{ -1, 0, bar_align_none, width_title, draw_title, click_title, "title" }, { -1, 0, bar_align_none, width_title, draw_title, click_title, "title" },
}; };