mirror of
				https://github.com/rad4day/Waybar.git
				synced 2025-11-04 09:42:42 +01:00 
			
		
		
		
	feat: add debug about tray beta
This commit is contained in:
		@@ -5,6 +5,7 @@
 | 
				
			|||||||
waybar::modules::SNI::Tray::Tray(const Json::Value &config)
 | 
					waybar::modules::SNI::Tray::Tray(const Json::Value &config)
 | 
				
			||||||
    : config_(config), watcher_(), host_(&dp, config)
 | 
					    : config_(config), watcher_(), host_(&dp, config)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
 | 
					  std::cout << "Tray is in beta, so there may be bugs or even be unusable." << std::endl;
 | 
				
			||||||
  if (config_["spacing"].isUInt()) {
 | 
					  if (config_["spacing"].isUInt()) {
 | 
				
			||||||
    box_.set_spacing(config_["spacing"].asUInt());
 | 
					    box_.set_spacing(config_["spacing"].asUInt());
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user