From 80cff191177a6f1112fb1f49f4dde915cd8de0bc Mon Sep 17 00:00:00 2001 From: Vaxry Date: Sun, 28 Apr 2024 22:04:38 +0100 Subject: [PATCH] clang-format --- hyprctl/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hyprctl/main.cpp b/hyprctl/main.cpp index a06a3899..dad49fc4 100644 --- a/hyprctl/main.cpp +++ b/hyprctl/main.cpp @@ -42,7 +42,7 @@ struct SInstanceData { std::vector instances() { std::vector result; - const std::string USERID = std::to_string(getpwuid(getuid())->pw_uid); + const std::string USERID = std::to_string(getpwuid(getuid())->pw_uid); for (const auto& el : std::filesystem::directory_iterator("/run/user/" + USERID + "/hypr")) { if (!el.is_directory() || !std::filesystem::exists(el.path().string() + "/hyprland.lock")) @@ -166,7 +166,7 @@ void requestHyprpaper(std::string arg) { const std::string USERID = std::to_string(getpwuid(getuid())->pw_uid); - std::string socketPath = "/run/user/" + USERID + "/hypr/" + instanceSignature + "/.hyprpaper.sock"; + std::string socketPath = "/run/user/" + USERID + "/hypr/" + instanceSignature + "/.hyprpaper.sock"; strncpy(serverAddress.sun_path, socketPath.c_str(), sizeof(serverAddress.sun_path) - 1);