mirror of
				https://github.com/rad4day/Waybar.git
				synced 2025-11-04 09:42:42 +01:00 
			
		
		
		
	make the linter happy
This commit is contained in:
		@@ -100,8 +100,7 @@ void IPC::parseIPC(const std::string& ev) {
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void IPC::registerForIPC(const std::string& ev,
 | 
			
		||||
                                                    std::function<void(const std::string&)> fn) {
 | 
			
		||||
void IPC::registerForIPC(const std::string& ev, std::function<void(const std::string&)> fn) {
 | 
			
		||||
  callbackMutex.lock();
 | 
			
		||||
 | 
			
		||||
  callbacks.emplace_back(std::make_pair(ev, fn));
 | 
			
		||||
@@ -169,4 +168,4 @@ std::string IPC::getSocket1Reply(const std::string& rq) {
 | 
			
		||||
  return std::string(buffer);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
}  // namespace waybar::modules::hyprland
 | 
			
		||||
@@ -1,8 +1,9 @@
 | 
			
		||||
#include "modules/hyprland/backend.hpp"
 | 
			
		||||
#include "modules/hyprland/window.hpp"
 | 
			
		||||
 | 
			
		||||
#include <spdlog/spdlog.h>
 | 
			
		||||
 | 
			
		||||
#include "modules/hyprland/backend.hpp"
 | 
			
		||||
 | 
			
		||||
namespace waybar::modules::hyprland {
 | 
			
		||||
 | 
			
		||||
Window::Window(const std::string& id, const Bar& bar, const Json::Value& config)
 | 
			
		||||
@@ -58,4 +59,5 @@ void Window::onEvent(const std::string& ev) {
 | 
			
		||||
 | 
			
		||||
  dp.emit();
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
}  // namespace waybar::modules::hyprland
 | 
			
		||||
		Reference in New Issue
	
	Block a user