File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -370,9 +370,6 @@ waybar::Bar::Bar(struct waybar_output* w_output, const Json::Value& w_config)
370
370
window.get_style_context ()->add_class (output->name );
371
371
window.get_style_context ()->add_class (config[" name" ].asString ());
372
372
window.get_style_context ()->add_class (config[" position" ].asString ());
373
- left_.get_style_context ()->add_class (" modules-left" );
374
- center_.get_style_context ()->add_class (" modules-center" );
375
- right_.get_style_context ()->add_class (" modules-right" );
376
373
377
374
if (config[" layer" ] == " top" ) {
378
375
layer_ = bar_layer::TOP;
@@ -389,6 +386,10 @@ waybar::Bar::Bar(struct waybar_output* w_output, const Json::Value& w_config)
389
386
box_ = Gtk::Box (Gtk::ORIENTATION_VERTICAL, 0 );
390
387
vertical = true ;
391
388
}
389
+
390
+ left_.get_style_context ()->add_class (" modules-left" );
391
+ center_.get_style_context ()->add_class (" modules-center" );
392
+ right_.get_style_context ()->add_class (" modules-right" );
392
393
393
394
uint32_t height = config[" height" ].isUInt () ? config[" height" ].asUInt () : 0 ;
394
395
uint32_t width = config[" width" ].isUInt () ? config[" width" ].asUInt () : 0 ;
You can’t perform that action at this time.
0 commit comments