mirror of
				https://github.com/rad4day/Waybar.git
				synced 2025-10-31 16:02:43 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			311 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			311 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #pragma once
 | |
| 
 | |
| #include "ALabel.hpp"
 | |
| #include "util/rfkill.hpp"
 | |
| 
 | |
| namespace waybar::modules {
 | |
| 
 | |
| class Bluetooth : public ALabel {
 | |
|  public:
 | |
|   Bluetooth(const std::string&, const Json::Value&);
 | |
|   ~Bluetooth() = default;
 | |
|   auto update() -> void;
 | |
| 
 | |
|  private:
 | |
|   util::Rfkill rfkill_;
 | |
| };
 | |
| 
 | |
| }  // namespace waybar::modules
 | 
