From c059135f69656518c5fcbcfec7185a3e60419fc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kondor=20D=C3=A1niel?= Date: Sat, 5 Sep 2026 18:56:05 +0200 Subject: [PATCH] wcm: also take into account the icon path of wf-plugin --- src/wcm.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/wcm.cpp b/src/wcm.cpp index f57623d..7811be5 100644 --- a/src/wcm.cpp +++ b/src/wcm.cpp @@ -1890,6 +1890,13 @@ std::string WCM::find_icon(const std::string & name) if (!xdg_data_dir.empty()) { + icon_path = xdg_data_dir + + "wayfire/plugin-manager/install/share/wayfire/icons/" + name; + if (std::filesystem::exists(icon_path)) + { + return icon_path; + } + icon_path = xdg_data_dir + "/wayfire/icons/" + name; if (std::filesystem::exists(icon_path)) {