diff --git a/src/modules/hyprland/backend.cpp b/src/modules/hyprland/backend.cpp index 88705d1c..ae73a252 100644 --- a/src/modules/hyprland/backend.cpp +++ b/src/modules/hyprland/backend.cpp @@ -100,8 +100,7 @@ void IPC::parseIPC(const std::string& ev) { } } -void IPC::registerForIPC(const std::string& ev, - std::function fn) { +void IPC::registerForIPC(const std::string& ev, std::function 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); } -} \ No newline at end of file +} // namespace waybar::modules::hyprland \ No newline at end of file diff --git a/src/modules/hyprland/window.cpp b/src/modules/hyprland/window.cpp index f0462a0f..c2923335 100644 --- a/src/modules/hyprland/window.cpp +++ b/src/modules/hyprland/window.cpp @@ -1,8 +1,9 @@ -#include "modules/hyprland/backend.hpp" #include "modules/hyprland/window.hpp" #include +#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(); } -} \ No newline at end of file + +} // namespace waybar::modules::hyprland \ No newline at end of file