A hopeful fix to the module section classes when the bar is vertical

This commit is contained in:
dorgnarg 2020-12-28 13:34:59 -07:00
parent 7fbd3657e8
commit c0361e8546
1 changed files with 3 additions and 0 deletions

View File

@ -387,6 +387,9 @@ waybar::Bar::Bar(struct waybar_output* w_output, const Json::Value& w_config)
center_ = Gtk::Box(Gtk::ORIENTATION_VERTICAL, 0);
right_ = Gtk::Box(Gtk::ORIENTATION_VERTICAL, 0);
box_ = Gtk::Box(Gtk::ORIENTATION_VERTICAL, 0);
left_.get_style_context()->add_class("modules-left");
center_.get_style_context()->add_class("modules-center");
right_.get_style_context()->add_class("modules-right");
vertical = true;
}