fix: lint

This commit is contained in:
Alex
2026-02-24 00:00:57 +01:00
parent aacf0cbc99
commit e18939210b
4 changed files with 6 additions and 6 deletions

View File

@ -12,8 +12,8 @@
#include <string>
#include "ipc.hpp"
#include "util/sleeper_thread.hpp"
#include "util/SafeSignal.hpp"
#include "util/sleeper_thread.hpp"
namespace waybar::modules::sway {

View File

@ -139,7 +139,8 @@ void waybar::modules::Battery::refreshBatteries() {
auto event_path = (node.path() / "uevent");
auto wd = inotify_add_watch(battery_watch_fd_, event_path.c_str(), IN_ACCESS);
if (wd < 0) {
spdlog::warn("Could not watch events for {} (device may have been removed)", node.path().string());
spdlog::warn("Could not watch events for {} (device may have been removed)",
node.path().string());
continue;
}
batteries_[node.path()] = wd;

View File

@ -58,7 +58,6 @@ void IPC::startIPC() {
int socketfd = connectToSocket();
std::thread([this, socketfd]() {
spdlog::info("Niri IPC starting");
auto unix_istream = Gio::UnixInputStream::create(socketfd, true);