make the linter happy

This commit is contained in:
vaxerski 2022-08-17 22:03:49 +02:00
parent 123ed36739
commit e2e59a52df
2 changed files with 6 additions and 5 deletions

View File

@ -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

View File

@ -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