mirror of
				https://github.com/rad4day/Waybar.git
				synced 2025-11-03 17:22:43 +01:00 
			
		
		
		
	Add a new start_hidden bool
This commit is contained in:
		@@ -593,6 +593,10 @@ waybar::Bar::Bar(struct waybar_output* w_output, const Json::Value& w_config)
 | 
				
			|||||||
    setMode(MODE_DEFAULT);
 | 
					    setMode(MODE_DEFAULT);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  if (config["start_hidden"].asBool()) {
 | 
				
			||||||
 | 
					    setVisible(false);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  window.signal_map_event().connect_notify(sigc::mem_fun(*this, &Bar::onMap));
 | 
					  window.signal_map_event().connect_notify(sigc::mem_fun(*this, &Bar::onMap));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if HAVE_SWAY
 | 
					#if HAVE_SWAY
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user