mirror of
				https://github.com/rad4day/Waybar.git
				synced 2025-10-31 07:52:42 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			26 lines
		
	
	
		
			528 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			528 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #pragma once
 | |
| 
 | |
| #include <json/json.h>
 | |
| #include "modules/clock.hpp"
 | |
| #include "modules/sway/workspaces.hpp"
 | |
| #include "modules/sway/window.hpp"
 | |
| #include "modules/battery.hpp"
 | |
| #include "modules/memory.hpp"
 | |
| #include "modules/cpu.hpp"
 | |
| #include "modules/network.hpp"
 | |
| #include "modules/pulseaudio.hpp"
 | |
| #include "modules/custom.hpp"
 | |
| 
 | |
| namespace waybar {
 | |
| 
 | |
|   class Factory {
 | |
| 	  public:
 | |
|       Factory(Bar &bar, Json::Value config);
 | |
|       IModule *makeModule(std::string name);
 | |
|     private:
 | |
|       Bar &_bar;
 | |
|       Json::Value _config;
 | |
|   };
 | |
| 
 | |
| }
 | 
