From 64b64d03160a4552fcc4555802924c154d744302 Mon Sep 17 00:00:00 2001 From: Skylar Abruzese Date: Sat, 9 Aug 2025 18:33:35 -0400 Subject: [PATCH] Moved workspace id failing to parse from an error to part of the trace. With named persistent workspaces it is expected behavior that they have no id since their workspace may not have been created by hyprland yet. --- src/modules/hyprland/workspaces.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/hyprland/workspaces.cpp b/src/modules/hyprland/workspaces.cpp index 5d2903dc..32f88c02 100644 --- a/src/modules/hyprland/workspaces.cpp +++ b/src/modules/hyprland/workspaces.cpp @@ -1129,9 +1129,9 @@ std::optional Workspaces::parseWorkspaceId(std::string const &workspaceIdSt try { return workspaceIdStr == "special" ? -99 : std::stoi(workspaceIdStr); } catch (std::exception const &e) { - spdlog::error("Failed to parse workspace ID: {}", e.what()); + spdlog::debug("Workspace \"{}\" is not bound to an id: {}", workspaceIdStr, e.what()); return std::nullopt; } } -} // namespace waybar::modules::hyprland \ No newline at end of file +} // namespace waybar::modules::hyprland